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

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

Re: occur-next-error


From: SAITO Takuya
Subject: Re: occur-next-error
Date: Sat, 13 Nov 2004 18:29:29 +0900 (JST)

From: Richard Stallman <address@hidden>
Date: Mon, 19 Jul 2004 08:29:51 -0400

> Thanks for the fix.
Thank you for installing the fix.
I think the following change is also needed
for first-error and previous-error.

--- replace.el.orig     2004-11-13 18:19:13.000000000 +0900
+++ replace.el  2004-11-13 18:19:56.000000000 +0900
@@ -735,9 +735,9 @@
 Compatibility function for \\[next-error] invocations."
   (interactive "p")
   (when reset
-    (occur-find-match 0 #'next-single-property-change "No first match"))
+    (goto-char (point-min)))
   (occur-find-match
-   (prefix-numeric-value argp)
+   (abs (prefix-numeric-value argp))
    (if (> 0 (prefix-numeric-value argp))
        #'previous-single-property-change
      #'next-single-property-change)




reply via email to

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