[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/markdown-mode 31eabd897b 1/2: Change kill-this-buffer to k
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/markdown-mode 31eabd897b 1/2: Change kill-this-buffer to kill-current-buffer |
Date: |
Fri, 6 Jun 2025 01:01:22 -0400 (EDT) |
branch: elpa/markdown-mode
commit 31eabd897b9b027b21380484fea2f428a6860d49
Author: Zach Kost-Smith <zachkostsmith@gmail.com>
Commit: GitHub <noreply@github.com>
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.
---
markdown-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown-mode.el b/markdown-mode.el
index 671210e5a8..74d958a7d7 100644
--- a/markdown-mode.el
+++ b/markdown-mode.el
@@ -10522,7 +10522,7 @@ rows and columns and the column alignment."
(define-key map (kbd "SPC") #'scroll-up-command)
(define-key map (kbd ">") #'end-of-buffer)
(define-key map (kbd "<") #'beginning-of-buffer)
- (define-key map (kbd "q") #'kill-this-buffer)
+ (define-key map (kbd "q") #'kill-current-buffer)
(define-key map (kbd "?") #'describe-mode)
map)
"Keymap for `markdown-view-mode'.")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/markdown-mode 31eabd897b 1/2: Change kill-this-buffer to kill-current-buffer,
ELPA Syncer <=