Mercurial > emacs
comparison lisp/progmodes/idlw-help.el @ 63450:87216f91a211
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-413
Remove "-face" suffix from idlwave faces
2005-06-14 Miles Bader <miles@gnu.org>
* lisp/progmodes/idlw-help.el (idlwave-help-link):
Remove "-face" suffix from face name.
(idlwave-help-link-face):
New backward-compatibility alias for renamed face.
(idlwave-highlight-linked-completions): Use renamed idlwave-help faces.
* lisp/progmodes/idlw-shell.el (idlwave-shell-bp-face)
(idlwave-shell-disabled-bp): Remove "-face" suffix from face names.
(idlwave-shell-bp-face, idlwave-shell-disabled-bp):
New backward-compatibility aliases for renamed faces.
(idlwave-shell-disabled-breakpoint-face)
(idlwave-shell-breakpoint-face): Use renamed idlwave-shell faces.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 14 Jun 2005 23:20:55 +0000 |
parents | f2892faa87d4 |
children | 82d080bf4f42 |
comparison
equal
deleted
inserted
replaced
63449:d6d67f85ab76 | 63450:87216f91a211 |
---|---|
180 which specifies the `keywords' section. Can be used for localization | 180 which specifies the `keywords' section. Can be used for localization |
181 support." | 181 support." |
182 :group 'idlwave-online-help | 182 :group 'idlwave-online-help |
183 :type 'string) | 183 :type 'string) |
184 | 184 |
185 (defface idlwave-help-link-face | 185 (defface idlwave-help-link |
186 '((((min-colors 88) (class color)) (:foreground "Blue1")) | 186 '((((min-colors 88) (class color)) (:foreground "Blue1")) |
187 (((class color)) (:foreground "Blue")) | 187 (((class color)) (:foreground "Blue")) |
188 (t (:weight bold))) | 188 (t (:weight bold))) |
189 "Face for highlighting links into IDLWAVE online help." | 189 "Face for highlighting links into IDLWAVE online help." |
190 :group 'idlwave-online-help) | 190 :group 'idlwave-online-help) |
191 ;; backward-compatibility alias | |
192 (put 'idlwave-help-link-face 'face-alias 'idlwave-help-link) | |
191 | 193 |
192 (defvar idlwave-help-activate-links-aggressively nil | 194 (defvar idlwave-help-activate-links-aggressively nil |
193 "Obsolete variable.") | 195 "Obsolete variable.") |
194 | 196 |
195 (defvar idlwave-completion-help-info) | 197 (defvar idlwave-completion-help-info) |
584 (defvar idlwave-highlight-help-links-in-completion) | 586 (defvar idlwave-highlight-help-links-in-completion) |
585 (defvar idlwave-completion-help-links) | 587 (defvar idlwave-completion-help-links) |
586 (defun idlwave-highlight-linked-completions () | 588 (defun idlwave-highlight-linked-completions () |
587 "Highlight all completions for which help is available and attach link. | 589 "Highlight all completions for which help is available and attach link. |
588 Those words in `idlwave-completion-help-links' have links. The | 590 Those words in `idlwave-completion-help-links' have links. The |
589 `idlwave-help-link-face' face is used for this." | 591 `idlwave-help-link' face is used for this." |
590 (if idlwave-highlight-help-links-in-completion | 592 (if idlwave-highlight-help-links-in-completion |
591 (with-current-buffer (get-buffer "*Completions*") | 593 (with-current-buffer (get-buffer "*Completions*") |
592 (save-excursion | 594 (save-excursion |
593 (let* ((case-fold-search t) | 595 (let* ((case-fold-search t) |
594 (props (list 'face 'idlwave-help-link-face)) | 596 (props (list 'face 'idlwave-help-link)) |
595 (info idlwave-completion-help-info) ; global passed in | 597 (info idlwave-completion-help-info) ; global passed in |
596 (what (nth 0 info)) ; what was completed, or a func | 598 (what (nth 0 info)) ; what was completed, or a func |
597 (class (nth 3 info)) ; any class | 599 (class (nth 3 info)) ; any class |
598 word beg end doit) | 600 word beg end doit) |
599 (goto-char (point-min)) | 601 (goto-char (point-min)) |