comparison lisp/progmodes/flymake.el @ 64993:fb2cad4cfb30

* mh-customize.el: Do not use face-alias compatibility for faces that did not appear in the previous Emacs release. * buff-menu.el: * compare-w.el: * emacs-lisp/testcover.el: * play/gomoku.el: * play/mpuz.el: * progmodes/flymake.el: * progmodes/gdb-ui.el: * progmodes/idlw-help.el: * progmodes/idlw-shell.el: * progmodes/ld-script.el: * progmodes/which-func.el: * ruler-mode.el: * strokes.el: * textmodes/sgml-mode.el: * textmodes/table.el: Do not use face-alias for backward compatibility for faces that did not appear in the previous Emacs release.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 15 Aug 2005 21:29:32 +0000
parents 629afbe74e61
children 3c80217a6363
comparison
equal deleted inserted replaced
64992:ca80d536ea6d 64993:fb2cad4cfb30
856 ;;+ '((((class color)) (:underline "OrangeRed")) 856 ;;+ '((((class color)) (:underline "OrangeRed"))
857 '((((class color)) (:background "LightPink")) 857 '((((class color)) (:background "LightPink"))
858 (t (:bold t))) 858 (t (:bold t)))
859 "Face used for marking error lines." 859 "Face used for marking error lines."
860 :group 'flymake) 860 :group 'flymake)
861 ;; backward-compatibility alias
862 (put 'flymake-errline-face 'face-alias 'flymake-errline)
863 861
864 (defface flymake-warnline 862 (defface flymake-warnline
865 '((((class color)) (:background "LightBlue2")) 863 '((((class color)) (:background "LightBlue2"))
866 (t (:bold t))) 864 (t (:bold t)))
867 "Face used for marking warning lines." 865 "Face used for marking warning lines."
868 :group 'flymake) 866 :group 'flymake)
869 ;; backward-compatibility alias
870 (put 'flymake-warnline-face 'face-alias 'flymake-warnline)
871 867
872 (defun flymake-highlight-line (line-no line-err-info-list) 868 (defun flymake-highlight-line (line-no line-err-info-list)
873 "Highlight line LINE-NO in current buffer. 869 "Highlight line LINE-NO in current buffer.
874 Perhaps use text from LINE-ERR-INFO-LIST to enhance highlighting." 870 Perhaps use text from LINE-ERR-INFO-LIST to enhance highlighting."
875 (goto-line line-no) 871 (goto-line line-no)