aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/subr.el2
2 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3e35a60aa8f..30bb4d5cd36 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12005-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * help.el (describe-mode): Allow a :minor-mode-function property to
4 specify a different minor mode toggle function than the variable.
5 * simple.el (auto-fill-function):
6 * subr.el (add-minor-mode): Use it.
7
12005-03-16 Kenichi Handa <handa@m17n.org> 82005-03-16 Kenichi Handa <handa@m17n.org>
2 9
3 * language/ethio-util.el (sera-being-called-by-w3): New variable. 10 * language/ethio-util.el (sera-being-called-by-w3): New variable.
@@ -32,7 +39,7 @@
32 39
33 * isearch.el (isearch-error): New variable. 40 * isearch.el (isearch-error): New variable.
34 (isearch-invalid-regexp, isearch-within-brackets): Remove. 41 (isearch-invalid-regexp, isearch-within-brackets): Remove.
35 (isearch-error-state): Renamed from `isearch-invalid-regexp-state'. 42 (isearch-error-state): Rename from `isearch-invalid-regexp-state'.
36 (isearch-within-brackets-state): Remove. 43 (isearch-within-brackets-state): Remove.
37 (isearch-case-fold-search-state, isearch-pop-fun-state): 44 (isearch-case-fold-search-state, isearch-pop-fun-state):
38 Decrease frame index. 45 Decrease frame index.
@@ -73,7 +80,7 @@
73 * international/mule-cmds.el (locale-language-names): Modify the 80 * international/mule-cmds.el (locale-language-names): Modify the
74 format of elements and add more entries. 81 format of elements and add more entries.
75 (locale-preferred-coding-systems): Add more entries. 82 (locale-preferred-coding-systems): Add more entries.
76 (set-locale-environment): Adjusted for the change of 83 (set-locale-environment): Adjust for the change of
77 locale-language-names. 84 locale-language-names.
78 85
792005-03-14 Stefan Monnier <monnier@iro.umontreal.ca> 862005-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/lisp/subr.el b/lisp/subr.el
index 8badf7cf777..b9e7786cfe4 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2457,6 +2457,8 @@ If TOGGLE has a `:menu-tag', that is used for the menu item's label."
2457 (push toggle minor-mode-list)) 2457 (push toggle minor-mode-list))
2458 2458
2459 (unless toggle-fun (setq toggle-fun toggle)) 2459 (unless toggle-fun (setq toggle-fun toggle))
2460 (unless (eq toggle-fun toggle)
2461 (put toggle :minor-mode-function toggle-fun))
2460 ;; Add the name to the minor-mode-alist. 2462 ;; Add the name to the minor-mode-alist.
2461 (when name 2463 (when name
2462 (let ((existing (assq toggle minor-mode-alist))) 2464 (let ((existing (assq toggle minor-mode-alist)))