mlf176f2 pushed a commit to branch externals/ergoemacs-mode in repository elpa.
commit c49361a37159154f5b4e3a5561edb9d8579dee81 Author: Matthew L. Fidler <[email protected]> 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)
