2005-06-14 Miles Bader <miles@gnu.org>
+ * progmodes/flymake.el (flymake-errline, flymake-warnline):
+ Remove "-face" suffix from face names.
+ (flymake-errline-face, flymake-warnline-face):
+ New backward-compatibility aliases for renamed faces.
+ (flymake-highlight-line): Use renamed flymake faces.
+
* progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
(ebrowse-file-name, ebrowse-default, ebrowse-member-attribute)
(ebrowse-member-class, ebrowse-progress):
(setq ov (cdr ov)))
has-flymake-overlays))
-(defface flymake-errline-face
+(defface flymake-errline
;;+ '((((class color)) (:foreground "OrangeRed" :bold t :underline t))
;;+ '((((class color)) (:underline "OrangeRed"))
'((((class color)) (:background "LightPink"))
(t (:bold t)))
"Face used for marking error lines."
:group 'flymake)
+;; backward-compatibility alias
+(put 'flymake-errline-face 'face-alias 'flymake-errline)
-(defface flymake-warnline-face
+(defface flymake-warnline
'((((class color)) (:background "LightBlue2"))
(t (:bold t)))
"Face used for marking warning lines."
:group 'flymake)
+;; backward-compatibility alias
+(put 'flymake-warnline-face 'face-alias 'flymake-warnline)
(defun flymake-highlight-line (line-no line-err-info-list)
"Highlight line LINE-NO in current buffer.
(setq end (point)))
(if (> (flymake-get-line-err-count line-err-info-list "e") 0)
- (setq face 'flymake-errline-face)
- (setq face 'flymake-warnline-face))
+ (setq face 'flymake-errline)
+ (setq face 'flymake-warnline))
(flymake-make-overlay beg end tooltip-text face nil)))