aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/emacs-lisp/timer.el2
-rw-r--r--lisp/faces.el4
-rw-r--r--lisp/international/mule-cmds.el2
-rw-r--r--lisp/minibuffer.el2
-rw-r--r--lisp/progmodes/grep.el2
-rw-r--r--lisp/subr.el4
7 files changed, 16 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5b9b8880db6..46e04699970 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,13 @@
12009-11-11 Dan Nicolaescu <dann@ics.uci.edu> 12009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * progmodes/grep.el (grep-regexp-alist):
4 * international/mule-cmds.el (iso-2022-control-alist):
5 * emacs-lisp/timer.el (timer-duration-words):
6 * subr.el (version-separator, version-regexp-alist):
7 * minibuffer.el (completion-styles-alist):
8 * faces.el (face-attribute-name-alist, list-faces-sample-text):
9 Change defvars to defconsts.
10
3 * Makefile.in (ELCFILES): Add international/mule-conf.elc. 11 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
4 * loadup.el ("international/mule-conf"): Load the byte compiled version. 12 * loadup.el ("international/mule-conf"): Load the byte compiled version.
5 * international/mule-conf.el: Allow to be byte compiled. 13 * international/mule-conf.el: Allow to be byte compiled.
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el
index bbb10797934..34f9473b982 100644
--- a/lisp/emacs-lisp/timer.el
+++ b/lisp/emacs-lisp/timer.el
@@ -496,7 +496,7 @@ If the user does not answer after SECONDS seconds, return DEFAULT-VALUE."
496 (with-timeout (seconds default-value) 496 (with-timeout (seconds default-value)
497 (y-or-n-p prompt))) 497 (y-or-n-p prompt)))
498 498
499(defvar timer-duration-words 499(defconst timer-duration-words
500 (list (cons "microsec" 0.000001) 500 (list (cons "microsec" 0.000001)
501 (cons "microsecond" 0.000001) 501 (cons "microsecond" 0.000001)
502 (cons "millisec" 0.001) 502 (cons "millisec" 0.001)
diff --git a/lisp/faces.el b/lisp/faces.el
index ebdca457177..e117eb16751 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1047,7 +1047,7 @@ an integer value."
1047 valid))) 1047 valid)))
1048 1048
1049 1049
1050(defvar face-attribute-name-alist 1050(defconst face-attribute-name-alist
1051 '((:family . "font family") 1051 '((:family . "font family")
1052 (:foundry . "font foundry") 1052 (:foundry . "font foundry")
1053 (:width . "character set width") 1053 (:width . "character set width")
@@ -1235,7 +1235,7 @@ Value is a list (FACE NEW-VALUE) where FACE is the face read
1235;;; Listing faces. 1235;;; Listing faces.
1236;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1236;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1237 1237
1238(defvar list-faces-sample-text 1238(defconst list-faces-sample-text
1239 "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ" 1239 "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ"
1240 "*Text string to display as the sample text for `list-faces-display'.") 1240 "*Text string to display as the sample text for `list-faces-display'.")
1241 1241
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index e11aff4eb6e..a9b94e8ded2 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -2815,7 +2815,7 @@ If there's no description string for VALUE, return nil."
2815;; Pretty description of encoded string 2815;; Pretty description of encoded string
2816 2816
2817;; Alist of ISO 2022 control code vs the corresponding mnemonic string. 2817;; Alist of ISO 2022 control code vs the corresponding mnemonic string.
2818(defvar iso-2022-control-alist 2818(defconst iso-2022-control-alist
2819 '((?\x1b . "ESC") 2819 '((?\x1b . "ESC")
2820 (?\x0e . "SO") 2820 (?\x0e . "SO")
2821 (?\x0f . "SI") 2821 (?\x0f . "SI")
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 823b56e7125..244acbc4c36 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -358,7 +358,7 @@ the second failed attempt to complete."
358 :type '(choice (const nil) (const t) (const lazy)) 358 :type '(choice (const nil) (const t) (const lazy))
359 :group 'minibuffer) 359 :group 'minibuffer)
360 360
361(defvar completion-styles-alist 361(defconst completion-styles-alist
362 '((emacs21 362 '((emacs21
363 completion-emacs21-try-completion completion-emacs21-all-completions 363 completion-emacs21-try-completion completion-emacs21-all-completions
364 "Simple prefix-based completion.") 364 "Simple prefix-based completion.")
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 9387a087e47..7d01777d441 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -329,7 +329,7 @@ Notice that using \\[next-error] or \\[compile-goto-error] modifies
329`complation-last-buffer' rather than `grep-last-buffer'.") 329`complation-last-buffer' rather than `grep-last-buffer'.")
330 330
331;;;###autoload 331;;;###autoload
332(defvar grep-regexp-alist 332(defconst grep-regexp-alist
333 '(("^\\(.+?\\)\\(:[ \t]*\\)\\([0-9]+\\)\\2" 333 '(("^\\(.+?\\)\\(:[ \t]*\\)\\([0-9]+\\)\\2"
334 1 3) 334 1 3)
335 ;; Rule to match column numbers is commented out since no known grep 335 ;; Rule to match column numbers is commented out since no known grep
diff --git a/lisp/subr.el b/lisp/subr.el
index fb832608cd4..2bc4c6b2bd2 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3546,13 +3546,13 @@ convenience wrapper around `make-progress-reporter' and friends.
3546 3546
3547;;;; Comparing version strings. 3547;;;; Comparing version strings.
3548 3548
3549(defvar version-separator "." 3549(defconst version-separator "."
3550 "*Specify the string used to separate the version elements. 3550 "*Specify the string used to separate the version elements.
3551 3551
3552Usually the separator is \".\", but it can be any other string.") 3552Usually the separator is \".\", but it can be any other string.")
3553 3553
3554 3554
3555(defvar version-regexp-alist 3555(defconst version-regexp-alist
3556 '(("^[-_+ ]?a\\(lpha\\)?$" . -3) 3556 '(("^[-_+ ]?a\\(lpha\\)?$" . -3)
3557 ("^[-_+]$" . -3) ; treat "1.2.3-20050920" and "1.2-3" as alpha releases 3557 ("^[-_+]$" . -3) ; treat "1.2.3-20050920" and "1.2-3" as alpha releases
3558 ("^[-_+ ]cvs$" . -3) ; treat "1.2.3-CVS" as alpha release 3558 ("^[-_+ ]cvs$" . -3) ; treat "1.2.3-CVS" as alpha release