aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMichael Olson2007-10-30 00:50:07 +0000
committerMichael Olson2007-10-30 00:50:07 +0000
commitf2168a4cda83e9e3489e3cb96e7764884c4029e1 (patch)
tree20f793e6b6653d071f36bbd3cbb660dcd1c49960 /lisp
parent9838952aba38495fd451cdbf819ef1ff47264fe8 (diff)
downloademacs-f2168a4cda83e9e3489e3cb96e7764884c4029e1.tar.gz
emacs-f2168a4cda83e9e3489e3cb96e7764884c4029e1.zip
Revert bad erc-track change; ignore erc-track-minor-mode properly in desktop
* lisp/desktop.el (desktop-minor-mode-table): Add line for ERC.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/desktop.el3
-rw-r--r--lisp/erc/ChangeLog4
-rw-r--r--lisp/erc/erc-track.el2
4 files changed, 6 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0299bb9b2f6..79cffa6e39a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12007-10-30 Michael Olson <mwolson@gnu.org>
2
3 * desktop.el (desktop-minor-mode-table): Add line for ERC.
4
12007-10-29 Ken Manheimer <ken.manheimer@gmail.com> 52007-10-29 Ken Manheimer <ken.manheimer@gmail.com>
2 6
3 * allout.el (allout-command-prefix, allout-inhibit-auto-fill): 7 * allout.el (allout-command-prefix, allout-inhibit-auto-fill):
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 0fa38ed3c91..040688492a4 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -454,7 +454,8 @@ Furthermore the major mode function must be autoloaded.")
454(defcustom desktop-minor-mode-table 454(defcustom desktop-minor-mode-table
455 '((auto-fill-function auto-fill-mode) 455 '((auto-fill-function auto-fill-mode)
456 (vc-mode nil) 456 (vc-mode nil)
457 (vc-dired-mode nil)) 457 (vc-dired-mode nil)
458 (erc-track-minor-mode nil))
458 "Table mapping minor mode variables to minor mode functions. 459 "Table mapping minor mode variables to minor mode functions.
459Each entry has the form (NAME RESTORE-FUNCTION). 460Each entry has the form (NAME RESTORE-FUNCTION).
460NAME is the name of the buffer-local variable indicating that the minor 461NAME is the name of the buffer-local variable indicating that the minor
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index 0867cb8de2f..1cd1edb65eb 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -3,10 +3,6 @@
3 * erc-ibuffer.el (erc-modified-channels-alist): Use 3 * erc-ibuffer.el (erc-modified-channels-alist): Use
4 eval-when-compile, and explain why we are doing this. 4 eval-when-compile, and explain why we are doing this.
5 5
6 * erc-track.el: Make sure that the state of erc-track-minor-mode
7 is not preserved when using desktop.el. Thanks to Levin for the
8 report.
9
102007-10-25 Dan Nicolaescu <dann@ics.uci.edu> 62007-10-25 Dan Nicolaescu <dann@ics.uci.edu>
11 7
12 * erc-ibuffer.el (erc-modified-channels-alist): Pacify 8 * erc-ibuffer.el (erc-modified-channels-alist): Pacify
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el
index 61d56c94ca7..ad3eaf73a4b 100644
--- a/lisp/erc/erc-track.el
+++ b/lisp/erc/erc-track.el
@@ -560,8 +560,6 @@ module, otherwise the keybindings will not do anything useful."
560 :global t 560 :global t
561 :group 'erc-track) 561 :group 'erc-track)
562 562
563(add-to-list 'desktop-minor-mode-table '(erc-track-minor-mode nil))
564
565(defun erc-track-minor-mode-maybe () 563(defun erc-track-minor-mode-maybe ()
566 "Enable `erc-track-minor-mode', depending on `erc-track-enable-keybindings'." 564 "Enable `erc-track-minor-mode', depending on `erc-track-enable-keybindings'."
567 (unless (or erc-track-minor-mode 565 (unless (or erc-track-minor-mode