Skip to content

Commit

Permalink
In dired mode execute extended command was broken. This fixes that is…
Browse files Browse the repository at this point in the history
…sue.
  • Loading branch information
mattfidler committed Nov 25, 2013
1 parent ca2b074 commit 95fa49c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions ergoemacs-shortcuts.el
Original file line number Diff line number Diff line change
Expand Up @@ -793,9 +793,13 @@ function if it is bound globally. For example
'(ergoemacs-undefined
ergoemacs-shortcut)
fn-ergo)))
(add-to-list 'fn-lst (list binding
(read-kbd-macro
(key-description cur-key) t))))))
(when (condition-case err
(interactive-form (read-kbd-macro
(key-description cur-key) t))
nil)
(add-to-list 'fn-lst (list binding
(read-kbd-macro
(key-description cur-key) t)))))))
(or
(remove-if
'(lambda(x)
Expand Down Expand Up @@ -837,10 +841,11 @@ function if it is bound globally. For example
(setq ergoemacs-first-variant chorded)
(ergoemacs- key chorded))))
(when shared-do-it
(message "%s" fn)
(if (not fn)
(unless keymap-key
(let (message-log-max)
(message "%s is not defined." (ergoemacs-pretty-key key))))
(let (message-log-max)
(message "%s is not defined." (ergoemacs-pretty-key key))))
(unless keymap-key
(setq this-command (nth 0 fn)) ; Don't record this command.
;; (setq prefix-arg current-prefix-arg)
Expand Down

0 comments on commit 95fa49c

Please sign in to comment.