bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9409: 24.0.50; log-view-msg-prev, easy-mmode


From: Eduard Wiebe
Subject: bug#9409: 24.0.50; log-view-msg-prev, easy-mmode
Date: Tue, 30 Aug 2011 21:31:59 +0200

 Hi all,

it bothers me that in some situation i cannot reach the head information
of the `vc-print-log' via `log-view-msg-prev'.

I fixed the issue by following simple patch.

=== 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))))
 


reply via email to

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