aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-05-31 23:02:45 +0000
committerDave Love2000-05-31 23:02:45 +0000
commit28d8dff137c98e568fdb6332a0de4c8f2730255a (patch)
tree3aa584864d8e8197572eaa3290223bedb4ad05ee
parent7b0c573e6ac0c1f42c00410e92be5b5c81e9fa15 (diff)
downloademacs-28d8dff137c98e568fdb6332a0de4c8f2730255a.tar.gz
emacs-28d8dff137c98e568fdb6332a0de4c8f2730255a.zip
(loadhist-hook-functions): Remove before-change-function,
after-change-function. (unload-feature): Deal with symbols which are both bound and fbound.
-rw-r--r--lisp/ChangeLog13
-rw-r--r--lisp/loadhist.el16
2 files changed, 22 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ac4b9f8dafc..90f215465a8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,16 @@
12000-05-31 Dave Love <fx@gnu.org>
2
3 * loadhist.el (loadhist-hook-functions): Remove
4 before-change-function, after-change-function.
5 (unload-feature): Deal with symbols which are both bound and
6 fbound.
7
8 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
9 before-change-function, after-change-function.
10
11 * simple.el (newline): Don't bind before-change-function,
12 after-change-function.
13
12000-05-31 Rajesh Vaidheeswarran <rv@gnu.org> 142000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
2 15
3 * whitespace.el (whitespace-rescan-timer-time): Update interval 16 * whitespace.el (whitespace-rescan-timer-time): Update interval
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index beb4dd46e5c..95208bc7908 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -97,8 +97,8 @@ return the feature \(symbol\)."
97 nil t))) 97 nil t)))
98 98
99(defvar loadhist-hook-functions 99(defvar loadhist-hook-functions
100 '(after-change-function after-change-functions 100 '(after-change-functions
101after-insert-file-functions auto-fill-function before-change-function 101after-insert-file-functions auto-fill-function
102before-change-functions blink-paren-function 102before-change-functions blink-paren-function
103buffer-access-fontify-functions command-line-functions 103buffer-access-fontify-functions command-line-functions
104comment-indent-function kill-buffer-query-functions 104comment-indent-function kill-buffer-query-functions
@@ -161,11 +161,13 @@ is nil, raise an error."
161 ;; Remove any feature names that this file provided. 161 ;; Remove any feature names that this file provided.
162 (if (eq (car x) 'provide) 162 (if (eq (car x) 'provide)
163 (setq features (delq (cdr x) features)))) 163 (setq features (delq (cdr x) features))))
164 ((boundp x) (makunbound x)) 164 (t
165 ((fboundp x) 165 (when (boundp x)
166 (fmakunbound x) 166 (makunbound x))
167 (let ((aload (get x 'autoload))) 167 (when (fboundp x)
168 (if aload (fset x (cons 'autoload aload))))))) 168 (fmakunbound x)
169 (let ((aload (get x 'autoload)))
170 (if aload (fset x (cons 'autoload aload))))))))
169 (cdr flist)) 171 (cdr flist))
170 ;; Delete the load-history element for this file. 172 ;; Delete the load-history element for this file.
171 (let ((elt (assoc file load-history))) 173 (let ((elt (assoc file load-history)))