mlf176f2 pushed a commit to branch externals/ergoemacs-mode in repository elpa.
commit 24dac764300d85b6d8fb2718f55ca374bf991c70 Author: Matthew L. Fidler <[email protected]> Date: Wed Jun 4 23:37:42 2014 +0800 Another bug-fix for substitute-command-keys --- ergoemacs-advices.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ergoemacs-advices.el b/ergoemacs-advices.el index 104c04f..785eab7 100644 --- a/ergoemacs-advices.el +++ b/ergoemacs-advices.el @@ -254,7 +254,7 @@ will add MAP to substitution." ergoemacs-shortcut-keys) (setq test (funcall function string)) (while (string-match "^.*\\<ergoemacs-shortcut.*\n" test) - (setq test (replace-match "" test))) + (setq test (replace-match "" nil nil test))) (when (string-match ".*\n.*\n" test) (setq ret (ergoemacs-substitute-map--1 (concat (match-string 0 test)
