mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
* lisp/files.el (kill-buffer-hook): Doc fix.
* lisp/emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer is the last entry in kill-buffer-hook. * lisp/nxml/rng-valid.el (rng-validate-while-idle) (rng-validate-quick-while-idle): Guard against deleted buffer. Fixes: debbugs:13999
This commit is contained in:
parent
2bf7d27acd
commit
7b0e2f853f
4 changed files with 37 additions and 18 deletions
|
|
@ -3810,7 +3810,10 @@ Options:
|
|||
;; If the user kills the buffer in which edebug is currently active,
|
||||
;; exit to top level, because the edebug command loop can't usefully
|
||||
;; continue running in such a case.
|
||||
(add-hook 'kill-buffer-hook 'edebug-kill-buffer nil t)
|
||||
;;
|
||||
;; Append `edebug-kill-buffer' to the hook to avoid interfering with
|
||||
;; other entries that are ungarded against deleted buffer.
|
||||
(add-hook 'kill-buffer-hook 'edebug-kill-buffer t t)
|
||||
(use-local-map edebug-mode-map))
|
||||
|
||||
(defun edebug-kill-buffer ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue