From 67d0796988697548f8a451826e792ebefb575389 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 8 May 2022 10:49:07 +0300 Subject: [PATCH] Always save commit message history --- .emacs.d/esy.org | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.emacs.d/esy.org b/.emacs.d/esy.org index 3ae0c38..4ed665b 100644 --- a/.emacs.d/esy.org +++ b/.emacs.d/esy.org @@ -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 -- 2.39.5