From: Eshel Yaron Date: Sat, 7 May 2022 17:42:07 +0000 (+0300) Subject: Add log-edit-comment-ring to savehist-additional-variables X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b585e8851ada2988061617d0ecb0ee1e880dcb25;p=dotfiles.git Add log-edit-comment-ring to savehist-additional-variables --- 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."