emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp ChangeLog simple.el


From: Richard M. Stallman
Subject: [Emacs-diffs] emacs/lisp ChangeLog simple.el
Date: Thu, 13 Aug 2009 00:57:23 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Richard M. Stallman <rms>       09/08/13 00:57:22

Modified files:
        lisp           : ChangeLog simple.el 

Log message:
        (next-error-move-function): New variable.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.15923&r2=1.15924
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/simple.el?cvsroot=emacs&r1=1.1002&r2=1.1003

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15923
retrieving revision 1.15924
diff -u -b -r1.15923 -r1.15924
--- ChangeLog   12 Aug 2009 20:56:25 -0000      1.15923
+++ ChangeLog   13 Aug 2009 00:57:17 -0000      1.15924
@@ -1,3 +1,7 @@
+2009-08-13  Richard Stallman  <address@hidden>
+
+       * simple.el (next-error-move-function): New variable.
+
 2009-08-12  Juri Linkov  <address@hidden>
 
        * progmodes/grep.el (lgrep): Ensure that `default-directory' is

Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.1002
retrieving revision 1.1003
diff -u -b -r1.1002 -r1.1003
--- simple.el   10 Aug 2009 16:38:16 -0000      1.1002
+++ simple.el   13 Aug 2009 00:57:22 -0000      1.1003
@@ -183,9 +183,16 @@
 Major modes providing compile-like functionality should set this variable
 to indicate to `next-error' that this is a candidate buffer and how
 to navigate in it.")
-
 (make-variable-buffer-local 'next-error-function)
 
+(defvar next-error-move-function nil
+  "Function to use to move to an error locus.
+It takes two arguments, a buffer position in the error buffer
+and a buffer position in the error locus buffer.
+The buffer for the error locus should already be current.
+nil means use goto-char using the second argument position.")
+(make-variable-buffer-local 'next-error-move-function)
+
 (defsubst next-error-buffer-p (buffer
                               &optional avoid-current
                               extra-test-inclusive




reply via email to

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