Skip to content

Commit

Permalink
Workaround for Issue #133. It shouldn't be happening but this appears
Browse files Browse the repository at this point in the history
to fix it temporarily.
  • Loading branch information
mattfidler committed Dec 17, 2013
1 parent 45bac38 commit 179a111
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ergoemacs-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,14 @@ However instead of using M-a `eval-buffer', you could use M-a `eb'"
(ergoemacs-mode-line))
(unless ergoemacs-modal
(ergoemacs-install-shortcuts-up)
(ergoemacs-vars-sync)))
(ergoemacs-vars-sync))
(when (memq this-command '(smex execute-extended-command))
(when current-prefix-arg
;;; Argh.
;; Does not fix the underlying cause of Issue #133,
;; but fixes it until I can figure it out
(setq unread-command-events (append (listify-key-sequence (read-kbd-macro "p" t)) unread-command-events))))
)
(when (not ergoemacs-mode)
(ergoemacs-remove-shortcuts)))
(error (message "Error %s" err))))
Expand Down

0 comments on commit 179a111

Please sign in to comment.