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-mode.el


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/diff-mode.el
Date: Tue, 17 Sep 2002 22:35:50 -0400

Index: emacs/lisp/diff-mode.el
diff -c emacs/lisp/diff-mode.el:1.48 emacs/lisp/diff-mode.el:1.49
*** emacs/lisp/diff-mode.el:1.48        Fri Sep 13 15:45:36 2002
--- emacs/lisp/diff-mode.el     Tue Sep 17 22:35:50 2002
***************
*** 1,6 ****
  ;;; diff-mode.el --- a mode for viewing/editing context diffs
  
! ;; Copyright (C) 1998, 1999, 2000, 2001  Free Software Foundation, Inc.
  
  ;; Author: Stefan Monnier <address@hidden>
  ;; Keywords: convenience patch diff
--- 1,6 ----
  ;;; diff-mode.el --- a mode for viewing/editing context diffs
  
! ;; Copyright (C) 1998, 1999, 2000, 2001, 2002  Free Software Foundation, Inc.
  
  ;; Author: Stefan Monnier <address@hidden>
  ;; Keywords: convenience patch diff
***************
*** 889,895 ****
         (substring buffer-file-name 0 (match-beginning 0))))
    ;; Be careful not to change compilation-last-buffer when we're just
    ;; doing a C-x v = (for example).
!   (let ((compilation-last-buffer compilation-last-buffer))
      (compilation-shell-minor-mode 1))
  
    (when (and (> (point-max) (point-min)) diff-default-read-only)
--- 889,897 ----
         (substring buffer-file-name 0 (match-beginning 0))))
    ;; Be careful not to change compilation-last-buffer when we're just
    ;; doing a C-x v = (for example).
!   (let ((compilation-last-buffer
!        (and (boundp 'compilation-last-buffer)
!             compilation-last-buffer)))
      (compilation-shell-minor-mode 1))
  
    (when (and (> (point-max) (point-min)) diff-default-read-only)




reply via email to

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