summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2020-02-12 09:36:04 +0100
committerBastien <bzg@gnu.org>2020-02-12 09:36:04 +0100
commit76ac192c4f23220a9be7612b8b450573e412dab4 (patch)
tree11afc6e2c7b87866f0e746bfe7a814ba40e7fc2a
parent04e9d848edda1b818803adbe5da869c3e63eed22 (diff)
downloadorg-mode-76ac192c4f23220a9be7612b8b450573e412dab4.tar.gz
Fix previous commit
-rw-r--r--lisp/org-attach.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-attach.el b/lisp/org-attach.el
index 2e9ade4..1b855d9 100644
--- a/lisp/org-attach.el
+++ b/lisp/org-attach.el
@@ -294,7 +294,7 @@ Shows a list of commands and prompts for another key to execute a command."
(message msg)
(while (and (setq c (read-char-exclusive))
(memq c '(14 16 22 134217846)))
- (org-scroll key t)))
+ (org-scroll c t)))
(and (get-buffer "*Org Attach*") (kill-buffer "*Org Attach*"))))
(let ((command (cl-some (lambda (entry)
(and (memq c (nth 0 entry)) (nth 1 entry)))