Permalink
Browse files

set this-command along with current-prefix-arg

  • Loading branch information...
1 parent a9f9561 commit 6a4c51287f68d62eb0b9eee5500f5c05ca7ee53b @rolandwalker committed Aug 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 smex.el
View
@@ -105,6 +105,7 @@ Set this to nil to disable fuzzy matching."
(funcall action chosen-item))
(unwind-protect
(progn (setq prefix-arg current-prefix-arg)
+ (setq this-command chosen-item)
(command-execute chosen-item 'record))
(smex-rank chosen-item)
(smex-show-key-advice chosen-item)

0 comments on commit 6a4c512

Please sign in to comment.