aboutsummaryrefslogtreecommitdiff
path: root/shoshin-config.el
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-07-04 15:12:28 -0500
committershoshin <shoshin@cicadas.surf>2022-07-04 15:12:28 -0500
commit72088b763efbcc6d3e2f4c724917cd6a66754535 (patch)
treec2a4795a6876f0b8f3d6d575ec3c1e98e5cb50cd /shoshin-config.el
parent50013edacf91a5c1b400b2310936e592b2b7598d (diff)
Add: my-org-top-level-heading command
Diffstat (limited to 'shoshin-config.el')
-rw-r--r--shoshin-config.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/shoshin-config.el b/shoshin-config.el
index 8bd307e..6fecaed 100644
--- a/shoshin-config.el
+++ b/shoshin-config.el
@@ -70,6 +70,11 @@
(package-install 'markdown-mode)
+(defun my-org-top-level-heading ()
+ (interactive)
+ (let ((moo 1))
+ (while moo (setq moo (org-up-heading-safe)))))
+
(package-install 'htmlize)
(recentf-mode)