about summary refs log tree commit diff stats
path: root/lisp/+init.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/+init.el')
-rw-r--r--lisp/+init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/+init.el b/lisp/+init.el index 3ab0486..360a1b9 100644 --- a/lisp/+init.el +++ b/lisp/+init.el
@@ -67,6 +67,12 @@ are sorted lexigraphically."
67 ;; otherwise, sort lexigraphically 67 ;; otherwise, sort lexigraphically
68 (t (string< s1 s2)))))))))))) 68 (t (string< s1 s2))))))))))))
69 69
70(defun +init-sort-then-save ()
71 "Sort init.el, then save it."
72 (interactive)
73 (+init-sort)
74 (save-buffer))
75
70;;; Add `setup' forms to `imenu-generic-expression' 76;;; Add `setup' forms to `imenu-generic-expression'
71 77
72(defun +init-add-setup-to-imenu () 78(defun +init-add-setup-to-imenu ()