diff options
| author | Miles Bader | 2005-06-14 23:56:03 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-14 23:56:03 +0000 |
| commit | 33595ec6bea2d29f19b78bc7ecc830b27b6b4efb (patch) | |
| tree | b504e14a64f94ca3b8cf1eb351b50d1d5b5dbcff | |
| parent | 67774855068c4b87aeb0b75d003e77347fe97a47 (diff) | |
| download | emacs-33595ec6bea2d29f19b78bc7ecc830b27b6b4efb.tar.gz emacs-33595ec6bea2d29f19b78bc7ecc830b27b6b4efb.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-414
Remove "-face" suffix from sh-script faces
2005-06-14 Miles Bader <miles@gnu.org>
* lisp/progmodes/sh-script.el (sh-heredoc): Remove "-face" suffix from
face name.
(sh-heredoc-face): New backward-compatibility alias for renamed face.
(sh-heredoc-face): Use renamed sh-heredoc face.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/sh-script.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a510cb88590..b4cebfd0565 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2005-06-14 Miles Bader <miles@gnu.org> | 1 | 2005-06-14 Miles Bader <miles@gnu.org> |
| 2 | 2 | ||
| 3 | * progmodes/sh-script.el (sh-heredoc): Remove "-face" suffix from | ||
| 4 | face name. | ||
| 5 | (sh-heredoc-face): New backward-compatibility alias for renamed face. | ||
| 6 | (sh-heredoc-face): Use renamed sh-heredoc face. | ||
| 7 | |||
| 3 | * progmodes/idlw-help.el (idlwave-help-link): | 8 | * progmodes/idlw-help.el (idlwave-help-link): |
| 4 | Remove "-face" suffix from face name. | 9 | Remove "-face" suffix from face name. |
| 5 | (idlwave-help-link-face): | 10 | (idlwave-help-link-face): |
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 604ff8c1e78..23d8374818e 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -792,7 +792,7 @@ See `sh-feature'.") | |||
| 792 | 792 | ||
| 793 | ;; Font-Lock support | 793 | ;; Font-Lock support |
| 794 | 794 | ||
| 795 | (defface sh-heredoc-face | 795 | (defface sh-heredoc |
| 796 | '((((min-colors 88) (class color) | 796 | '((((min-colors 88) (class color) |
| 797 | (background dark)) | 797 | (background dark)) |
| 798 | (:foreground "yellow1" :weight bold)) | 798 | (:foreground "yellow1" :weight bold)) |
| @@ -806,7 +806,9 @@ See `sh-feature'.") | |||
| 806 | (:weight bold))) | 806 | (:weight bold))) |
| 807 | "Face to show a here-document" | 807 | "Face to show a here-document" |
| 808 | :group 'sh-indentation) | 808 | :group 'sh-indentation) |
| 809 | (defvar sh-heredoc-face 'sh-heredoc-face) | 809 | ;; backward-compatibility alias |
| 810 | (put 'sh-heredoc-face 'face-alias 'sh-heredoc) | ||
| 811 | (defvar sh-heredoc-face 'sh-heredoc) | ||
| 810 | 812 | ||
| 811 | (defface sh-escaped-newline '((t :inherit font-lock-string-face)) | 813 | (defface sh-escaped-newline '((t :inherit font-lock-string-face)) |
| 812 | "Face used for (non-escaped) backslash at end of a line in Shell-script mode." | 814 | "Face used for (non-escaped) backslash at end of a line in Shell-script mode." |