Browse files

Don't include switch to *shown-keys* in buffer history.

  • Loading branch information...
1 parent 0a4ac52 commit fc08f2adda69066f44465c1386e1aef28d6e0b78 @candera committed Dec 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 show-keys.el
@@ -68,12 +68,12 @@ Updates the *shown-keys* buffer with the keys that were typed."
(orig-window (selected-window))
(show-buffer-window (get-buffer-window show-keys-buffer t)))
(when show-buffer-window
- (select-window show-buffer-window))
+ (select-window show-buffer-window t))
(goto-char (point-max))
(insert (format "%s (%s)\n"
(key-description (this-command-keys-vector))
(when show-buffer-window
- (select-window orig-window)))))))
+ (select-window orig-window t)))))))
(provide 'show-keys)

0 comments on commit fc08f2a

Please sign in to comment.