* lisp/hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.

This commit is contained in:
Stefan Monnier 2012-05-21 00:33:54 -04:00
parent 5814f126ba
commit a52c0aa070
2 changed files with 11 additions and 9 deletions

View file

@ -1,5 +1,7 @@
2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
* hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
* progmodes/compile.el (compilation-error-regexp-alist-alist):
Simplify Maven regexp, and make sure the file can't start with a space
(bug#11517).
@ -18,10 +20,11 @@
* calc/calc.el (calc-ensure-consistent-units): New variable.
* calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency):
New functions.
(calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when
`calc-ensure-consistent-units' is non-nil.
* calc/calc-units.el (math-consistent-units-p)
(math-check-unit-consistency): New functions.
(calc-quick-units, calc-convert-units):
Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
is non-nil.
(calc-extract-units): Fix typo.
2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -204,16 +204,15 @@ patterns."
(defvar hi-lock-interactive-patterns nil
"Patterns provided to hi-lock by user. Should not be changed.")
(define-obsolete-variable-alias 'hi-lock-face-history
'hi-lock-face-defaults "23.1")
(defvar hi-lock-face-defaults
'("hi-yellow" "hi-pink" "hi-green" "hi-blue" "hi-black-b"
"hi-blue-b" "hi-red-b" "hi-green-b" "hi-black-hb")
"Default faces for hi-lock interactive functions.")
;(dolist (f hi-lock-face-defaults) (unless (facep f) (error "%s not a face" f)))
(define-obsolete-variable-alias 'hi-lock-face-history
'hi-lock-face-defaults
"23.1")
;;(dolist (f hi-lock-face-defaults)
;; (unless (facep f) (error "%s not a face" f)))
(define-obsolete-variable-alias 'hi-lock-regexp-history
'regexp-history