Mercurial > emacs
changeset 68752:e065294f485f
Add highlight-changes-mode to desktop-locals-to-save.
(highlight-changes-mode): Don't change desktop-locals-to-save.
author | Lars Hansen <larsh@soem.dk> |
---|---|
date | Thu, 09 Feb 2006 21:00:54 +0000 |
parents | 5f1e7977531e |
children | 1ab1088988a3 |
files | lisp/hilit-chg.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/hilit-chg.el Thu Feb 09 20:10:53 2006 +0000 +++ b/lisp/hilit-chg.el Thu Feb 09 21:00:54 2006 +0000 @@ -673,7 +673,6 @@ (if new-highlight-changes-mode ;; mode is turned on -- but may be passive (progn - (add-to-list 'desktop-locals-to-save 'highlight-changes-mode) (hilit-chg-set new-highlight-changes-mode) (or was-on ;; run highlight-changes-enable-hook once @@ -1166,6 +1165,8 @@ (add-to-list 'desktop-minor-mode-handlers '(highlight-changes-mode . hilit-chg-desktop-restore)) +(add-to-list 'desktop-locals-to-save 'highlight-changes-mode) + ;; ===================== debug ================== ;; For debug & test use: ;;