From: Richard M. Stallman Date: Sun, 5 Oct 2003 13:50:18 +0000 (+0000) Subject: (unload-feature-special-hooks): X-Git-Tag: ttn-vms-21-2-B4~8626 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=28d02da1e7175d61d8c4367ea39f39ad0f5a766a;p=emacs.git (unload-feature-special-hooks): Renamed from loadhist-hook-functions. (loadhist-hook-functions): Now an alias. --- 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\)." 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 @@ is nil, raise an error." (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