diff options
author | Lars Hansen <larsh@soem.dk> | 2006-02-09 21:01:19 +0000 |
---|---|---|
committer | Lars Hansen <larsh@soem.dk> | 2006-02-09 21:01:19 +0000 |
commit | 9e72206753821fb379babd1e10e124616d3ff4a7 (patch) | |
tree | 06f8ec4c2de78b7228b07edbc9bebe9b795beb96 /lisp/hilit-chg.el | |
parent | 1bf6d4b5c112dbf6233ff2cfc3b85adfa6cbd291 (diff) | |
download | emacs-9e72206753821fb379babd1e10e124616d3ff4a7.tar.gz |
Add highlight-changes-mode to desktop-locals-to-save.
(highlight-changes-mode): Don't change desktop-locals-to-save.
Diffstat (limited to 'lisp/hilit-chg.el')
-rw-r--r-- | lisp/hilit-chg.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el index 6bea0ad4b4b..d6408412c0b 100644 --- a/lisp/hilit-chg.el +++ b/lisp/hilit-chg.el @@ -673,7 +673,6 @@ Hook variables: (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 @@ from `global-highlight-changes' when turning on global Highlight Changes mode." (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: ;; |