comparison man/ediff.texi @ 28344:54fda0e8528a

Weed out redundant uses of `function'
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 27 Mar 2000 04:29:55 +0000
parents 4aad3cb5a850
children 203ba1f77b7b
comparison
equal deleted inserted replaced
28343:4ecf90324237 28344:54fda0e8528a
1567 faces, you can modify them when Ediff is being loaded using 1567 faces, you can modify them when Ediff is being loaded using
1568 @code{ediff-load-hook}. For instance: 1568 @code{ediff-load-hook}. For instance:
1569 1569
1570 @smallexample 1570 @smallexample
1571 (add-hook 'ediff-load-hook 1571 (add-hook 'ediff-load-hook
1572 (function (lambda () 1572 (lambda ()
1573 (set-face-foreground 1573 (set-face-foreground
1574 ediff-current-diff-face-B "blue") 1574 ediff-current-diff-face-B "blue")
1575 (set-face-background 1575 (set-face-background
1576 ediff-current-diff-face-B "red") 1576 ediff-current-diff-face-B "red")
1577 (make-face-italic 1577 (make-face-italic
1578 ediff-current-diff-face-B)))) 1578 ediff-current-diff-face-B)))
1579 @end smallexample 1579 @end smallexample
1580 1580
1581 @strong{Note:} To set Ediff's faces, use only @code{copy-face} or 1581 @strong{Note:} To set Ediff's faces, use only @code{copy-face} or
1582 @code{set/make-face-@dots{}} as shown above. Emacs' low-level 1582 @code{set/make-face-@dots{}} as shown above. Emacs' low-level
1583 face-manipulation functions should be avoided. 1583 face-manipulation functions should be avoided.