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

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

[elpa] 234/287: Make comment-search-backward less fragile


From: Matthew Fidler
Subject: [elpa] 234/287: Make comment-search-backward less fragile
Date: Wed, 02 Jul 2014 14:46:16 +0000

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

commit c49361a37159154f5b4e3a5561edb9d8579dee81
Author: Matthew L. Fidler <address@hidden>
Date:   Thu Jun 26 14:22:55 2014 -0500

    Make comment-search-backward less fragile
---
 ergoemacs-functions.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index 26cb157..c369557 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -652,7 +652,7 @@ the prefix arguments of `beginning-of-buffer',
           (when (not (eolp))
             (forward-char 1))
           (save-excursion
-            (when (comment-search-backward (point-at-bol) t)
+            (when (ignore-errors (comment-search-backward (point-at-bol) t))
               (push (point) pts)
               (when (and font-lock-mode
                          (eq (get-text-property (point) 'face)



reply via email to

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