mlf176f2 pushed a commit to branch externals/ergoemacs-mode in repository elpa.
commit 7ca3f3cebf0c47a0c93b21c542f5855f27fc7cd0 Author: Matthew L. Fidler <[email protected]> Date: Wed Jun 4 23:20:21 2014 +0800 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 10dbeb5..104c04f 100644 --- a/ergoemacs-advices.el +++ b/ergoemacs-advices.el @@ -272,7 +272,7 @@ will add MAP to substitution." (setq test (concat "|" (make-string (+ max1 2) ?-) "+" - (make-string (- max2 1) ?-) + (make-string (max 0 (- max2 1)) ?-) "|")) (goto-char (point-min)) (insert test "\n")
