Renamed from loadhist-hook-functions.
(loadhist-hook-functions): Now an alias.
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
(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