Use call-interactively if the callee function is a command

old-master
Akira Komamura 7 years ago
parent 301c762f2f
commit cd82d83345
  1. 4
      ace-window.el

@ -489,7 +489,9 @@ The new frame is set to the same size as the previous frame, offset by
(if (and fn description)
(prog1 (setq aw-action fn)
(aw-set-mode-line (format " Ace - %s" description)))
(funcall fn)
(if (commandp fn)
(call-interactively fn)
(funcall fn))
(throw 'done 'exit)))
(aw-clean-up-avy-current-path)
;; Prevent any char from triggering an avy dispatch command.

Loading…
Cancel
Save