summaryrefslogtreecommitdiff
path: root/lisp/hilit-chg.el
diff options
context:
space:
mode:
authorLars Hansen <larsh@soem.dk>2006-02-09 21:01:19 +0000
committerLars Hansen <larsh@soem.dk>2006-02-09 21:01:19 +0000
commit9e72206753821fb379babd1e10e124616d3ff4a7 (patch)
tree06f8ec4c2de78b7228b07edbc9bebe9b795beb96 /lisp/hilit-chg.el
parent1bf6d4b5c112dbf6233ff2cfc3b85adfa6cbd291 (diff)
downloademacs-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.el3
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:
;;