]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Always save commit message history
authorEshel Yaron <eshel@areionsec.com>
Sun, 8 May 2022 07:49:07 +0000 (10:49 +0300)
committerEshel Yaron <eshel@areionsec.com>
Sun, 8 May 2022 07:49:07 +0000 (10:49 +0300)
.emacs.d/esy.org

index 3ae0c3822b3b24f5b7cd7e9e2fb7c7a86775d7a5..4ed665b694da71c2649f6cf8aa4829ec8eaa705a 100644 (file)
@@ -168,16 +168,15 @@ For further information about Elisp headers, see [[info:elisp#Library
     (require 'recentf)
     (require 'savehist)
     (require 'saveplace)
+    (require 'log-edit)
     (recentf-mode 1)
     (savehist-mode 1)
     (save-place-mode 1)
-    (setq bookmark-save-flag 1))
-
-  (esy/setup-history)
-
-  (with-eval-after-load 'log-edit
+    (setq bookmark-save-flag 1)
     (add-to-list 'savehist-additional-variables
                  'log-edit-comment-ring))
+
+  (esy/setup-history)
 #+end_src
 
 * Display settings