summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAugusto Stoffel <arstoffel@gmail.com>2023-02-12 15:30:24 +0100
committerVedang Manerikar <ved.manerikar@gmail.com>2023-06-11 00:29:04 +0530
commit6a86b29140b4e84d9aff5093c444255c20eef463 (patch)
tree88584f817168fc7feb62267069864c42df731c88 /lisp
parent154e31dc3cee2cfdd62e5ff11f17b5addee18f93 (diff)
Use 'C-c C-k' to abandon edits of annotation contents
This is consistent with other Emacs packages such as org-capture, VC, Magit, etc. Closes: #192
Diffstat (limited to 'lisp')
-rw-r--r--lisp/pdf-annot.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/pdf-annot.el b/lisp/pdf-annot.el
index abd9814..e0f2ae9 100644
--- a/lisp/pdf-annot.el
+++ b/lisp/pdf-annot.el
@@ -1447,6 +1447,7 @@ annotation's contents and otherwise `org-mode'."
(set-keymap-parent kmap text-mode-map)
(define-key kmap (kbd "C-c C-c") #'pdf-annot-edit-contents-commit)
(define-key kmap (kbd "C-c C-q") #'pdf-annot-edit-contents-abort)
+ (define-key kmap (kbd "C-c C-k") #'pdf-annot-edit-contents-abort)
kmap))
(define-minor-mode pdf-annot-edit-contents-minor-mode