changeset 24239:e6c0e87123a7

(compilation-next-error-locus): Don't decrease argument FIND-AT-LEAST of compilation-next-error-locus.
author Richard M. Stallman <rms@gnu.org>
date Mon, 01 Feb 1999 10:38:08 +0000
parents 20d23ea9713b
children 6ea9058180ec
files lisp/progmodes/compile.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Mon Feb 01 02:52:34 1999 +0000
+++ b/lisp/progmodes/compile.el	Mon Feb 01 10:38:08 1999 +0000
@@ -1428,8 +1428,7 @@
 
 The current buffer should be the desired compilation output buffer."
   (or move (setq move 1))
-  (compile-reinitialize-errors reparse nil (and (not reparse)
-						(if (< move 1) 0 (1- move))))
+  (compile-reinitialize-errors reparse nil (and (not reparse) (max 0 move)))
   (let (next-errors next-error)
     (catch 'no-next-error
       (save-excursion