# HG changeset patch # User Richard M. Stallman # Date 1065361818 0 # Node ID 6c7cae7ce71a48ae0169e10bfb90f97eba0ae86d # Parent d08832a11cfd3c8e0b8f9ff5f0e24c1a3e1def23 (unload-feature-special-hooks): Renamed from loadhist-hook-functions. (loadhist-hook-functions): Now an alias. diff -r d08832a11cfd -r 6c7cae7ce71a lisp/loadhist.el --- 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