emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp diff-mode.el


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp diff-mode.el
Date: Tue, 13 Jan 2009 13:58:25 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/01/13 13:58:25

Modified files:
        lisp           : diff-mode.el 

Log message:
        (diff-mode-menu): Do not assume whitespace-mode is loaded.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/diff-mode.el?cvsroot=emacs&r1=1.155&r2=1.156

Patches:
Index: diff-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/diff-mode.el,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -b -r1.155 -r1.156
--- diff-mode.el        11 Jan 2009 03:23:59 -0000      1.155
+++ diff-mode.el        13 Jan 2009 13:58:25 -0000      1.156
@@ -184,7 +184,7 @@
      :help "Convert unified diffs to context diffs"]
     ;;["Fixup Headers"         diff-fixup-modifs       (not buffer-read-only)]
     ["Show trailing whitespace" whitespace-mode
-     :style toggle :selected whitespace-mode
+     :style toggle :selected (and (boundp 'whitespace-mode) whitespace-mode)
      :help "Show trailing whitespace in modified lines"]
     "-----"
     ["Split hunk"              diff-split-hunk




reply via email to

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