浏览代码

Fix previous commit

Bastien 5 年之前
父节点
当前提交
76ac192c4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-attach.el

+ 1 - 1
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)))