From b585e8851ada2988061617d0ecb0ee1e880dcb25 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 7 May 2022 20:42:07 +0300 Subject: [PATCH] Add log-edit-comment-ring to savehist-additional-variables --- .emacs.d/esy.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.emacs.d/esy.org b/.emacs.d/esy.org index 87cf5de..211ab0d 100644 --- a/.emacs.d/esy.org +++ b/.emacs.d/esy.org @@ -174,6 +174,10 @@ For further information about Elisp headers, see [[info:elisp#Library (setq bookmark-save-flag 1)) (esy/setup-history) + + (with-eval-after-load 'log-edit + (add-to-list 'savehist-additional-variables + 'log-edit-comment-ring)) #+end_src * Display settings @@ -455,8 +459,8 @@ For further information about Elisp headers, see [[info:elisp#Library "History list for 'esy/org-capture-to-project-heading'.") (require 'savehist) - (setq savehist-additional-variables - '(esy/org-capture-to-project-heading-history-list)) + (add-to-list 'savehist-additional-variables + 'esy/org-capture-to-project-heading-history-list) (defun esy/org-capture-to-project-heading () "Prompt for a projects and capture a related task." -- 2.39.5