|
@@ -290,11 +290,10 @@ Shows a list of commands and prompts for another key to execute a command."
|
|
|
"\n")))))
|
|
|
(org-fit-window-to-buffer (get-buffer-window "*Org Attach*"))
|
|
|
(let ((msg (format "Select command: [%s]"
|
|
|
- (concat (mapcar #'caar org-attach-commands))))
|
|
|
- key)
|
|
|
+ (concat (mapcar #'caar org-attach-commands)))))
|
|
|
(message msg)
|
|
|
- (while (and (setq key (read-char-exclusive))
|
|
|
- (memq key '(14 16 22 134217846)))
|
|
|
+ (while (and (setq c (read-char-exclusive))
|
|
|
+ (memq c '(14 16 22 134217846)))
|
|
|
(org-scroll key t)))
|
|
|
(and (get-buffer "*Org Attach*") (kill-buffer "*Org Attach*"))))
|
|
|
(let ((command (cl-some (lambda (entry)
|