Mercurial > emacs
changeset 52755:6c7cae7ce71a
(unload-feature-special-hooks):
Renamed from loadhist-hook-functions.
(loadhist-hook-functions): Now an alias.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 05 Oct 2003 13:50:18 +0000 |
parents | d08832a11cfd |
children | 371ac8b3328e |
files | lisp/loadhist.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/loadhist.el Sun Oct 05 13:42:04 2003 +0000 +++ b/lisp/loadhist.el Sun Oct 05 13:50:18 2003 +0000 @@ -98,7 +98,8 @@ features) nil t))) -(defvar loadhist-hook-functions +(defvaralias 'loadhist-hook-functions 'unload-feature-special-hooks) +(defvar unload-feature-special-hooks '(after-change-functions after-insert-file-functions auto-fill-function before-change-functions blink-paren-function @@ -153,7 +154,7 @@ (consp (symbol-value x)) (string-match "-hooks?\\'" (symbol-name x))) (and (boundp x) ; Known abnormal hooks etc. - (memq x loadhist-hook-functions))) + (memq x unload-feature-special-hooks))) (dolist (y (cdr flist)) (remove-hook x y)))))) (if (fboundp 'elp-restore-function) ; remove ELP stuff first