emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el,v


From: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el,v
Date: Thu, 01 May 2008 23:56:10 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juri Linkov <jurta>     08/05/01 23:56:10

Index: compile.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/compile.el,v
retrieving revision 1.466
retrieving revision 1.467
diff -u -b -r1.466 -r1.467
--- compile.el  30 Apr 2008 08:12:20 -0000      1.466
+++ compile.el  1 May 2008 23:56:10 -0000       1.467
@@ -772,6 +772,8 @@
 (defun compilation-auto-jump (buffer pos)
   (with-current-buffer buffer
     (goto-char pos)
+    (let ((win (get-buffer-window buffer 0)))
+      (if win (set-window-point win pos)))
     (if compilation-auto-jump-to-first-error
        (compile-goto-error))))
 




reply via email to

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