mlf176f2 pushed a commit to branch externals/ergoemacs-mode in repository elpa.
commit 4a75aac2b70006378fa3895c5023e513d95ae9fc Author: Matthew L. Fidler <[email protected]> Date: Tue Jul 1 07:42:15 2014 -0500 Slight bug fix for beginning-of-line-or-what --- ergoemacs-functions.el | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el index 3a00ed8..c6d6aa4 100644 --- a/ergoemacs-functions.el +++ b/ergoemacs-functions.el @@ -668,7 +668,8 @@ the prefix arguments of `beginning-of-buffer', (when (ignore-errors (comment-search-backward (point-at-bol) t)) (push (point) pts) (when (re-search-backward (format "%s\\=" comment-start-skip) (point-at-bol) t) - (skip-syntax-backward " " (point-at-bol)) + (while (re-search-backward (format "%s\\=" comment-start-skip) (point-at-bol) t) + (skip-syntax-backward " " (point-at-bol))) (push (point) pts)))))) (cond ((not pts)
