all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#9409: 24.0.50; log-view-msg-prev, easy-mmode
@ 2011-08-30 19:31 Eduard Wiebe
  2011-09-03  0:37 ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: Eduard Wiebe @ 2011-08-30 19:31 UTC (permalink / raw)
  To: 9409

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]


 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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: easy-mmode.el.patch --]
[-- Type: text/x-diff, Size: 530 bytes --]

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-13 21:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30 19:31 bug#9409: 24.0.50; log-view-msg-prev, easy-mmode Eduard Wiebe
2011-09-03  0:37 ` Glenn Morris
2011-09-03 17:41   ` Eduard Wiebe
2011-09-07  0:40     ` Glenn Morris
2011-09-07 12:39       ` Stefan Monnier
2011-09-13 19:38         ` Eduard Wiebe
2011-09-13 21:02           ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.