summaryrefslogtreecommitdiff
path: root/modes/pdf
diff options
context:
space:
mode:
authorcondy <condy0919@gmail.com>2024-06-05 22:28:55 +0800
committercondy <condy0919@gmail.com>2024-06-05 22:28:55 +0800
commita64a0a9487ab32569208f720ea2748dc790e71ef (patch)
tree35cfad3b1b8227fffcaa238269aeb7f4ea376ce0 /modes/pdf
parentacc38ea2d991c9bd1380223ac5ec5cdcee2c8cd0 (diff)
elisp-refs, emms, pdf, xwidget: Use kill-current-buffer
kill-this-buffer says > This command can be reliably invoked only from the menu bar, > otherwise it could decide to silently do nothing.
Diffstat (limited to 'modes/pdf')
-rw-r--r--modes/pdf/evil-collection-pdf.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/modes/pdf/evil-collection-pdf.el b/modes/pdf/evil-collection-pdf.el
index e998695..22eff17 100644
--- a/modes/pdf/evil-collection-pdf.el
+++ b/modes/pdf/evil-collection-pdf.el
@@ -1,6 +1,6 @@
;;; evil-collection-pdf.el --- Evil bindings for pdf-tools -*- lexical-binding: t -*-
-;; Copyright (C) 2017 Pierre Neidhardt
+;; Copyright (C) 2017, 2024 Pierre Neidhardt
;; Author: Pierre Neidhardt <mail@ambrevar.xyz>
;; Maintainer: James Nguyen <james@jojojames.com>
@@ -195,8 +195,8 @@ instead, which is useless and counterintuitive."
;; quit
"q" 'quit-window
- "Q" 'kill-this-buffer
- "ZQ" 'kill-this-buffer
+ "Q" 'kill-current-buffer
+ "ZQ" 'kill-current-buffer
"ZZ" 'quit-window)