From: Karl Heuer Date: Sun, 7 Dec 1997 21:49:09 +0000 (+0000) Subject: (outline-next-preface): X-Git-Tag: emacs-20.3~2647 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1122ecea8434625a0bedada7d0053b438a6b1381;p=emacs.git (outline-next-preface): Don't try to move back if already at beginning of buffer. --- diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el index 80c65a5301b..3debce3e189 100644 --- a/lisp/textmodes/outline.el +++ b/lisp/textmodes/outline.el @@ -309,7 +309,7 @@ at the end of the buffer." (if (re-search-forward (concat "\n\\(" outline-regexp "\\)") nil 'move) (goto-char (match-beginning 0))) - (if (bolp) + (if (and (bolp) (not (bobp))) (forward-char -1))) (defun outline-next-heading ()