=== modified file 'lisp/emacs-lisp/easy-mmode.el' --- lisp/emacs-lisp/easy-mmode.el 2011-01-25 04:08:28 +0000 +++ lisp/emacs-lisp/easy-mmode.el 2011-08-27 16:50:49 +0000 @@ -578,7 +578,8 @@ (if (< count 0) (,next-sym (- count)) ,(funcall when-narrowed `(unless (re-search-backward ,re nil t count) - (error "No previous %s" ,name))) + (goto-char (point-min)) + (error "No previous %s" ,name))) ,@body)) (put ',prev-sym 'definition-name ',base))))