branch: elpa/pdf-tools
commit 6a86b29140b4e84d9aff5093c444255c20eef463
Author: Augusto Stoffel <[email protected]>
Commit: Vedang Manerikar <[email protected]>

    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
---
 lisp/pdf-annot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/pdf-annot.el b/lisp/pdf-annot.el
index abd9814c05..e0f2ae9ae3 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

Reply via email to