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,v


From: John Paul Wallington
Subject: [Emacs-diffs] Changes to emacs/lisp/diff-mode.el,v
Date: Thu, 15 May 2008 01:19:11 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     John Paul Wallington <jpw>      08/05/15 01:19:08

Index: diff-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/diff-mode.el,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -b -r1.142 -r1.143
--- diff-mode.el        11 May 2008 21:57:27 -0000      1.142
+++ diff-mode.el        15 May 2008 01:19:06 -0000      1.143
@@ -1717,7 +1717,7 @@
            (let ((old (if switched dst src)))
              (with-temp-buffer
                (insert (car old))
-               (funcall (with-current-buffer buf major-mode))
+               (funcall (buffer-local-value 'major-mode buf))
                (goto-char (+ (point-min) (cdr old)))
                (add-log-current-defun))))
          (with-current-buffer buf




reply via email to

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