aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-10-05 13:50:18 +0000
committerRichard M. Stallman2003-10-05 13:50:18 +0000
commit28d02da1e7175d61d8c4367ea39f39ad0f5a766a (patch)
tree3748d72d3f6929f381c19e139a60efebb3e68bea
parent068ae0fd96c6bbd9aaa3b3d96232cf548749a36d (diff)
downloademacs-28d02da1e7175d61d8c4367ea39f39ad0f5a766a.tar.gz
emacs-28d02da1e7175d61d8c4367ea39f39ad0f5a766a.zip
(unload-feature-special-hooks):
Renamed from loadhist-hook-functions. (loadhist-hook-functions): Now an alias.
-rw-r--r--lisp/loadhist.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index 19d940a6450..cbeaaa62600 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -98,7 +98,8 @@ return the feature \(symbol\)."
98 features) 98 features)
99 nil t))) 99 nil t)))
100 100
101(defvar loadhist-hook-functions 101(defvaralias 'loadhist-hook-functions 'unload-feature-special-hooks)
102(defvar unload-feature-special-hooks
102 '(after-change-functions 103 '(after-change-functions
103 after-insert-file-functions auto-fill-function 104 after-insert-file-functions auto-fill-function
104 before-change-functions blink-paren-function 105 before-change-functions blink-paren-function
@@ -153,7 +154,7 @@ is nil, raise an error."
153 (consp (symbol-value x)) 154 (consp (symbol-value x))
154 (string-match "-hooks?\\'" (symbol-name x))) 155 (string-match "-hooks?\\'" (symbol-name x)))
155 (and (boundp x) ; Known abnormal hooks etc. 156 (and (boundp x) ; Known abnormal hooks etc.
156 (memq x loadhist-hook-functions))) 157 (memq x unload-feature-special-hooks)))
157 (dolist (y (cdr flist)) 158 (dolist (y (cdr flist))
158 (remove-hook x y)))))) 159 (remove-hook x y))))))
159 (if (fboundp 'elp-restore-function) ; remove ELP stuff first 160 (if (fboundp 'elp-restore-function) ; remove ELP stuff first