(load-with-code-conversion):
Don't run kill-buffer-hook or kill-buffer-query-functions.
This commit is contained in:
parent
12eb843358
commit
cfc70cdfd0
1 changed files with 2 additions and 1 deletions
|
|
@ -63,7 +63,8 @@ Return t if file exists."
|
|||
(set-buffer-modified-p nil))
|
||||
;; Eval in the original buffer.
|
||||
(eval-buffer buffer))
|
||||
(kill-buffer buffer))
|
||||
(let (kill-buffer-hook kill-buffer-query-functions)
|
||||
(kill-buffer buffer)))
|
||||
(let ((hook (assoc file after-load-alist)))
|
||||
(if hook
|
||||
(mapcar (function eval) (cdr hook))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue