aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2012-05-21 00:33:54 -0400
committerStefan Monnier2012-05-21 00:33:54 -0400
commita52c0aa070a8d0919cf7c175d5a5f9a212ef3526 (patch)
tree5d42c0066455038c58f56b2b45caccd552887254
parent5814f126ba1b8457c963e91c48a5bfa8108d55ac (diff)
downloademacs-a52c0aa070a8d0919cf7c175d5a5f9a212ef3526.tar.gz
emacs-a52c0aa070a8d0919cf7c175d5a5f9a212ef3526.zip
* lisp/hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/hi-lock.el9
2 files changed, 11 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f3c2426620e..c7775422417 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12012-05-21 Stefan Monnier <monnier@iro.umontreal.ca> 12012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4
3 * progmodes/compile.el (compilation-error-regexp-alist-alist): 5 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4 Simplify Maven regexp, and make sure the file can't start with a space 6 Simplify Maven regexp, and make sure the file can't start with a space
5 (bug#11517). 7 (bug#11517).
@@ -18,10 +20,11 @@
18 20
19 * calc/calc.el (calc-ensure-consistent-units): New variable. 21 * calc/calc.el (calc-ensure-consistent-units): New variable.
20 22
21 * calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency): 23 * calc/calc-units.el (math-consistent-units-p)
22 New functions. 24 (math-check-unit-consistency): New functions.
23 (calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when 25 (calc-quick-units, calc-convert-units):
24 `calc-ensure-consistent-units' is non-nil. 26 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
27 is non-nil.
25 (calc-extract-units): Fix typo. 28 (calc-extract-units): Fix typo.
26 29
272012-05-18 Stefan Monnier <monnier@iro.umontreal.ca> 302012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index 32a041e6c09..2c2d08e19cc 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -204,16 +204,15 @@ patterns."
204(defvar hi-lock-interactive-patterns nil 204(defvar hi-lock-interactive-patterns nil
205 "Patterns provided to hi-lock by user. Should not be changed.") 205 "Patterns provided to hi-lock by user. Should not be changed.")
206 206
207(define-obsolete-variable-alias 'hi-lock-face-history
208 'hi-lock-face-defaults "23.1")
207(defvar hi-lock-face-defaults 209(defvar hi-lock-face-defaults
208 '("hi-yellow" "hi-pink" "hi-green" "hi-blue" "hi-black-b" 210 '("hi-yellow" "hi-pink" "hi-green" "hi-blue" "hi-black-b"
209 "hi-blue-b" "hi-red-b" "hi-green-b" "hi-black-hb") 211 "hi-blue-b" "hi-red-b" "hi-green-b" "hi-black-hb")
210 "Default faces for hi-lock interactive functions.") 212 "Default faces for hi-lock interactive functions.")
211 213
212;(dolist (f hi-lock-face-defaults) (unless (facep f) (error "%s not a face" f))) 214;;(dolist (f hi-lock-face-defaults)
213 215;; (unless (facep f) (error "%s not a face" f)))
214(define-obsolete-variable-alias 'hi-lock-face-history
215 'hi-lock-face-defaults
216 "23.1")
217 216
218(define-obsolete-variable-alias 'hi-lock-regexp-history 217(define-obsolete-variable-alias 'hi-lock-regexp-history
219 'regexp-history 218 'regexp-history