emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/loadhist.el


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/loadhist.el
Date: Sun, 05 Oct 2003 09:50:19 -0400

Index: emacs/lisp/loadhist.el
diff -c emacs/lisp/loadhist.el:1.25 emacs/lisp/loadhist.el:1.26
*** emacs/lisp/loadhist.el:1.25 Mon Sep  1 11:45:13 2003
--- emacs/lisp/loadhist.el      Sun Oct  5 09:50:18 2003
***************
*** 98,104 ****
                                   features)
                           nil t)))
  
! (defvar loadhist-hook-functions
    '(after-change-functions
      after-insert-file-functions auto-fill-function
      before-change-functions blink-paren-function
--- 98,105 ----
                                   features)
                           nil t)))
  
! (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,159 ****
                        (consp (symbol-value x))
                        (string-match "-hooks?\\'" (symbol-name x)))
                   (and (boundp x)       ; Known abnormal hooks etc.
!                       (memq x loadhist-hook-functions)))
             (dolist (y (cdr flist))
               (remove-hook x y))))))
      (if (fboundp 'elp-restore-function)       ; remove ELP stuff first
--- 154,160 ----
                        (consp (symbol-value x))
                        (string-match "-hooks?\\'" (symbol-name x)))
                   (and (boundp x)       ; Known abnormal hooks etc.
!                       (memq x unload-feature-special-hooks)))
             (dolist (y (cdr flist))
               (remove-hook x y))))))
      (if (fboundp 'elp-restore-function)       ; remove ELP stuff first




reply via email to

[Prev in Thread] Current Thread [Next in Thread]