emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 273/287: Slight bug fix for beginning-of-line-or-what


From: Matthew Fidler
Subject: [elpa] 273/287: Slight bug fix for beginning-of-line-or-what
Date: Wed, 02 Jul 2014 14:46:37 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit 4a75aac2b70006378fa3895c5023e513d95ae9fc
Author: Matthew L. Fidler <address@hidden>
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]