Skip to content

Commit 31eabd8

Browse files
authored
Change kill-this-buffer to kill-current-buffer
From the docs regarding 'kill-this-buffer': This command must be bound to a mouse event, and can be reliably invoked only from the menu bar, otherwise it could decide to silently do nothing or signal an error. Use ‘kill-current-buffer’ if you need to invoke a similar command from keyboard.
1 parent 90ad4af commit 31eabd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10522,7 +10522,7 @@ rows and columns and the column alignment."
1052210522
(define-key map (kbd "SPC") #'scroll-up-command)
1052310523
(define-key map (kbd ">") #'end-of-buffer)
1052410524
(define-key map (kbd "<") #'beginning-of-buffer)
10525-
(define-key map (kbd "q") #'kill-this-buffer)
10525+
(define-key map (kbd "q") #'kill-current-buffer)
1052610526
(define-key map (kbd "?") #'describe-mode)
1052710527
map)
1052810528
"Keymap for `markdown-view-mode'.")

0 commit comments

Comments
 (0)