Commit 9e722067 authored by Lars Hansen's avatar Lars Hansen
Browse files

Add highlight-changes-mode to desktop-locals-to-save.

(highlight-changes-mode): Don't change desktop-locals-to-save.
parent 1bf6d4b5
2006-02-09 Lars Hansen <larsh@soem.dk>
* hilit-chg.el: Add highlight-changes-mode to
desktop-locals-to-save.
(highlight-changes-mode): Don't change desktop-locals-to-save.
2006-02-09 Chong Yidong <cyd@stupidchicken.com>
 
* image-mode.el (image-toggle-display): Clear image cache if using
......
......@@ -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:
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment