From 9e72206753821fb379babd1e10e124616d3ff4a7 Mon Sep 17 00:00:00 2001 From: Lars Hansen Date: Thu, 9 Feb 2006 21:01:19 +0000 Subject: Add highlight-changes-mode to desktop-locals-to-save. (highlight-changes-mode): Don't change desktop-locals-to-save. --- lisp/hilit-chg.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/hilit-chg.el') 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: ;; -- cgit v1.2.1