[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
diff-function face
From: |
Nick Roberts |
Subject: |
diff-function face |
Date: |
Sat, 18 Mar 2006 00:26:03 +1300 |
Currently diff-function face inherits from diff-context and looks like
its part of the diff hunk. I presume this is a mistake as its really
part of the header. In any case I find a diff is a lot easier to view
if diff-function inherits from diff-header.
[Please note that the function is only visible if you have something like:
(setq diff-switches "-cp")
in your .emacs and works for C functions]
OK to apply?
--
Nick http://www.inet.net.nz/~nickrob
*** diff-mode.el 07 Feb 2006 10:13:32 +1300 1.84
--- diff-mode.el 18 Mar 2006 00:19:09 +1300
*************** when editing big diffs)."
*** 274,280 ****
(defvar diff-indicator-changed-face 'diff-indicator-changed)
(defface diff-function
! '((t :inherit diff-context))
"`diff-mode' face used to highlight function names produced by \"diff -p\"."
:group 'diff-mode)
;; backward-compatibility alias
--- 274,280 ----
(defvar diff-indicator-changed-face 'diff-indicator-changed)
(defface diff-function
! '((t :inherit diff-header))
"`diff-mode' face used to highlight function names produced by \"diff -p\"."
:group 'diff-mode)
;; backward-compatibility alias
- diff-function face,
Nick Roberts <=