emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/diff.el [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/diff.el [lexbind]
Date: Thu, 20 Nov 2003 19:36:35 -0500

Index: emacs/lisp/diff.el
diff -c emacs/lisp/diff.el:1.45.2.2 emacs/lisp/diff.el:1.45.2.3
*** emacs/lisp/diff.el:1.45.2.2 Tue Oct 14 19:50:54 2003
--- emacs/lisp/diff.el  Thu Nov 20 19:36:02 2003
***************
*** 118,124 ****
         (function (lambda (file subexpr)
                     (setq compilation-error-list
                           (cons
!                           (cons (save-excursion
                                    ;; Report location of message
                                    ;; at beginning of line.
                                    (goto-char
--- 118,124 ----
         (function (lambda (file subexpr)
                     (setq compilation-error-list
                           (cons
!                           (list (save-excursion
                                    ;; Report location of message
                                    ;; at beginning of line.
                                    (goto-char
***************
*** 126,141 ****
                                    (beginning-of-line)
                                    (point-marker))
                                  ;; Report location of corresponding text.
!                                 (let ((line (string-to-int
!                                              (buffer-substring
!                                               (match-beginning subexpr)
!                                               (match-end subexpr)))))
!                                   (save-excursion
!                                     (save-match-data
!                                       (set-buffer (find-file-noselect file)))
!                                     (save-excursion
!                                       (goto-line line)
!                                       (point-marker)))))
                            compilation-error-list)))))
  
        (found-desired nil)
--- 126,137 ----
                                    (beginning-of-line)
                                    (point-marker))
                                  ;; Report location of corresponding text.
!                                 (list file nil)
!                                 (string-to-int
!                                  (buffer-substring
!                                   (match-beginning subexpr)
!                                   (match-end subexpr)))
!                                 nil)
                            compilation-error-list)))))
  
        (found-desired nil)




reply via email to

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