aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2009-11-11 19:24:20 +0000
committerDan Nicolaescu2009-11-11 19:24:20 +0000
commitaaa448c984ad227585dac4a2fe2ee5bdc467e25e (patch)
tree73cfced623c9a2f6596f52eb261a28660031cc33
parent04420943de5a7a92f94c7642b76990c77ca751f8 (diff)
downloademacs-aaa448c984ad227585dac4a2fe2ee5bdc467e25e.tar.gz
emacs-aaa448c984ad227585dac4a2fe2ee5bdc467e25e.zip
* widget.el (define-widget): Purecopy the docstring.
* international/mule-cmds.el (charset): Do not purecopy the docstring here, define-widget does it. * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote): * textmodes/bibtex-style.el (auto-mode-alist): * progmodes/inf-lisp.el (inferior-lisp-prompt): * progmodes/compile.el (compile-command): * language/korea-util.el (default-korean-keyboard): * international/mule-conf.el (file-coding-system-alist): * emacs-lisp/eldoc.el (eldoc-minor-mode-string): * tooltip.el (tooltip-frame-parameters): * newcomment.el (comment-end, comment-padding): * dired.el (dired-trivial-filenames): * comint.el (comint-file-name-prefix): Purecopy initial values.
-rw-r--r--lisp/ChangeLog18
-rw-r--r--lisp/comint.el2
-rw-r--r--lisp/dired.el2
-rw-r--r--lisp/emacs-lisp/eldoc.el2
-rw-r--r--lisp/international/mule-cmds.el2
-rw-r--r--lisp/international/mule-conf.el3
-rw-r--r--lisp/language/korea-util.el4
-rw-r--r--lisp/newcomment.el4
-rw-r--r--lisp/progmodes/compile.el2
-rw-r--r--lisp/progmodes/inf-lisp.el2
-rw-r--r--lisp/textmodes/bibtex-style.el2
-rw-r--r--lisp/textmodes/texinfo.el4
-rw-r--r--lisp/tooltip.el2
-rw-r--r--lisp/widget.el2
14 files changed, 35 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 00a1bc00812..7a1c5082641 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,21 @@
12009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * widget.el (define-widget): Purecopy the docstring.
4 * international/mule-cmds.el (charset): Do not purecopy the
5 docstring here, define-widget does it.
6
7 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
8 * textmodes/bibtex-style.el (auto-mode-alist):
9 * progmodes/inf-lisp.el (inferior-lisp-prompt):
10 * progmodes/compile.el (compile-command):
11 * language/korea-util.el (default-korean-keyboard):
12 * international/mule-conf.el (file-coding-system-alist):
13 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14 * tooltip.el (tooltip-frame-parameters):
15 * newcomment.el (comment-end, comment-padding):
16 * dired.el (dired-trivial-filenames):
17 * comint.el (comint-file-name-prefix): Purecopy initial values.
18
12009-11-11 Michael Albinus <michael.albinus@gmx.de> 192009-11-11 Michael Albinus <michael.albinus@gmx.de>
2 20
3 * net/tramp.el (tramp-advice-minibuffer-electric-separator) 21 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
diff --git a/lisp/comint.el b/lisp/comint.el
index 5fd6d8f23a9..37fddc5404e 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -2669,7 +2669,7 @@ Note that this applies to `comint-dynamic-complete-filename' only."
2669 :group 'comint-completion) 2669 :group 'comint-completion)
2670 2670
2671;;;###autoload 2671;;;###autoload
2672(defvar comint-file-name-prefix "" 2672(defvar comint-file-name-prefix (purecopy "")
2673 "Prefix prepended to absolute file names taken from process input. 2673 "Prefix prepended to absolute file names taken from process input.
2674This is used by Comint's and shell's completion functions, and by shell's 2674This is used by Comint's and shell's completion functions, and by shell's
2675directory tracking functions.") 2675directory tracking functions.")
diff --git a/lisp/dired.el b/lisp/dired.el
index 58c29a152b7..9e2c65c5c47 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -105,7 +105,7 @@ always set this variable to t."
105 :group 'dired-mark) 105 :group 'dired-mark)
106 106
107;;;###autoload 107;;;###autoload
108(defcustom dired-trivial-filenames "^\\.\\.?$\\|^#" 108(defcustom dired-trivial-filenames (purecopy "^\\.\\.?$\\|^#")
109 "Regexp of files to skip when finding first file of a directory. 109 "Regexp of files to skip when finding first file of a directory.
110A value of nil means move to the subdir line. 110A value of nil means move to the subdir line.
111A value of t means move to first file." 111A value of t means move to first file."
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index f1a92035bb9..2f40d5784b5 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -64,7 +64,7 @@ If this variable is set to 0, no idle time is required."
64 :group 'eldoc) 64 :group 'eldoc)
65 65
66;;;###autoload 66;;;###autoload
67(defcustom eldoc-minor-mode-string " ElDoc" 67(defcustom eldoc-minor-mode-string (purecopy " ElDoc")
68 "String to display in mode line when ElDoc Mode is enabled; nil for none." 68 "String to display in mode line when ElDoc Mode is enabled; nil for none."
69 :type '(choice string (const :tag "None" nil)) 69 :type '(choice string (const :tag "None" nil))
70 :group 'eldoc) 70 :group 'eldoc)
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index a9b94e8ded2..ad1e3b7f538 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -1870,7 +1870,7 @@ specifies the character set for the major languages of Western Europe."
1870 (force-mode-line-update t)) 1870 (force-mode-line-update t))
1871 1871
1872(define-widget 'charset 'symbol 1872(define-widget 'charset 'symbol
1873 (purecopy "An Emacs charset.") 1873 "An Emacs charset."
1874 :tag "Charset" 1874 :tag "Charset"
1875 :complete-function (lambda () 1875 :complete-function (lambda ()
1876 (interactive) 1876 (interactive)
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el
index b32f8a93f7a..e0c1dede211 100644
--- a/lisp/international/mule-conf.el
+++ b/lisp/international/mule-conf.el
@@ -1504,6 +1504,7 @@ for decoding and encoding files, process I/O, etc."
1504;; Tar files are not decoded at all, but we treat them as raw bytes. 1504;; Tar files are not decoded at all, but we treat them as raw bytes.
1505 1505
1506(setq file-coding-system-alist 1506(setq file-coding-system-alist
1507 (mapcar (lambda (arg) (cons (purecopy (car arg)) (cdr arg)))
1507 '(("\\.elc\\'" . utf-8-emacs) 1508 '(("\\.elc\\'" . utf-8-emacs)
1508 ("\\.utf\\(-8\\)?\\'" . utf-8) 1509 ("\\.utf\\(-8\\)?\\'" . utf-8)
1509 ("\\.xml\\'" . xml-find-file-coding-system) 1510 ("\\.xml\\'" . xml-find-file-coding-system)
@@ -1516,7 +1517,7 @@ for decoding and encoding files, process I/O, etc."
1516 ("\\.tar\\'" . (no-conversion . no-conversion)) 1517 ("\\.tar\\'" . (no-conversion . no-conversion))
1517 ( "\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system) 1518 ( "\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system)
1518 ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system) 1519 ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system)
1519 ("" . (undecided . nil)))) 1520 ("" . (undecided . nil)))))
1520 1521
1521 1522
1522;;; Setting coding categories and their priorities. 1523;;; Setting coding categories and their priorities.
diff --git a/lisp/language/korea-util.el b/lisp/language/korea-util.el
index 8f653194f66..4755a781ade 100644
--- a/lisp/language/korea-util.el
+++ b/lisp/language/korea-util.el
@@ -30,9 +30,9 @@
30 30
31;;;###autoload 31;;;###autoload
32(defvar default-korean-keyboard 32(defvar default-korean-keyboard
33 (if (string-match "3" (or (getenv "HANGUL_KEYBOARD_TYPE") "")) 33 (purecopy (if (string-match "3" (or (getenv "HANGUL_KEYBOARD_TYPE") ""))
34 "3" 34 "3"
35 "") 35 ""))
36 "*The kind of Korean keyboard for Korean input method. 36 "*The kind of Korean keyboard for Korean input method.
37\"\" for 2, \"3\" for 3.") 37\"\" for 2, \"3\" for 3.")
38 38
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index e1c257ccc54..84b87593f86 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -122,7 +122,7 @@ at the place matched by the close of the first pair.")
122;;;###autoload(put 'comment-end-skip 'safe-local-variable 'string-or-null-p) 122;;;###autoload(put 'comment-end-skip 'safe-local-variable 'string-or-null-p)
123 123
124;;;###autoload 124;;;###autoload
125(defvar comment-end "" 125(defvar comment-end (purecopy "")
126 "*String to insert to end a new comment. 126 "*String to insert to end a new comment.
127Should be an empty string if comments are terminated by end-of-line.") 127Should be an empty string if comments are terminated by end-of-line.")
128;;;###autoload(put 'comment-end 'safe-local-variable 'string-or-null-p) 128;;;###autoload(put 'comment-end 'safe-local-variable 'string-or-null-p)
@@ -218,7 +218,7 @@ See `comment-styles' for a list of available styles."
218 :group 'comment) 218 :group 'comment)
219 219
220;;;###autoload 220;;;###autoload
221(defcustom comment-padding " " 221(defcustom comment-padding (purecopy " ")
222 "Padding string that `comment-region' puts between comment chars and text. 222 "Padding string that `comment-region' puts between comment chars and text.
223Can also be an integer which will be automatically turned into a string 223Can also be an integer which will be automatically turned into a string
224of the corresponding number of spaces. 224of the corresponding number of spaces.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 91bfcf01bee..f101fe65064 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -588,7 +588,7 @@ The value nil as an element means to try the default directory."
588 :group 'compilation) 588 :group 'compilation)
589 589
590;;;###autoload 590;;;###autoload
591(defcustom compile-command "make -k " 591(defcustom compile-command (purecopy "make -k ")
592 "Last shell command used to do a compilation; default for next compilation. 592 "Last shell command used to do a compilation; default for next compilation.
593 593
594Sometimes it is useful for files to supply local values for this variable. 594Sometimes it is useful for files to supply local values for this variable.
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el
index e19da49a223..bb07642bcea 100644
--- a/lisp/progmodes/inf-lisp.el
+++ b/lisp/progmodes/inf-lisp.el
@@ -159,7 +159,7 @@ but it works only in Common Lisp."
159 :group 'inferior-lisp) 159 :group 'inferior-lisp)
160 160
161;;;###autoload 161;;;###autoload
162(defcustom inferior-lisp-prompt "^[^> \n]*>+:? *" 162(defcustom inferior-lisp-prompt (purecopy "^[^> \n]*>+:? *")
163 "Regexp to recognize prompts in the Inferior Lisp mode. 163 "Regexp to recognize prompts in the Inferior Lisp mode.
164Defaults to \"^[^> \\n]*>+:? *\", which works pretty good for Lucid, kcl, 164Defaults to \"^[^> \\n]*>+:? *\", which works pretty good for Lucid, kcl,
165and franz. This variable is used to initialize `comint-prompt-regexp' in the 165and franz. This variable is used to initialize `comint-prompt-regexp' in the
diff --git a/lisp/textmodes/bibtex-style.el b/lisp/textmodes/bibtex-style.el
index ef5dd38e3bf..6f67d11d78e 100644
--- a/lisp/textmodes/bibtex-style.el
+++ b/lisp/textmodes/bibtex-style.el
@@ -63,7 +63,7 @@
63 ("\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}" 63 ("\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}"
64 (2 font-lock-function-name-face)))) 64 (2 font-lock-function-name-face))))
65 65
66;;;###autoload (add-to-list 'auto-mode-alist '("\\.bst\\'" . bibtex-style-mode)) 66;;;###autoload (add-to-list 'auto-mode-alist (cons (purecopy "\\.bst\\'") 'bibtex-style-mode))
67 67
68;;;###autoload 68;;;###autoload
69(define-derived-mode bibtex-style-mode nil "BibStyle" 69(define-derived-mode bibtex-style-mode nil "BibStyle"
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index d7098639ae5..6b32c165d82 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -42,13 +42,13 @@
42 :group 'docs) 42 :group 'docs)
43 43
44;;;###autoload 44;;;###autoload
45(defcustom texinfo-open-quote "``" 45(defcustom texinfo-open-quote (purecopy "``")
46 "String inserted by typing \\[texinfo-insert-quote] to open a quotation." 46 "String inserted by typing \\[texinfo-insert-quote] to open a quotation."
47 :type 'string 47 :type 'string
48 :group 'texinfo) 48 :group 'texinfo)
49 49
50;;;###autoload 50;;;###autoload
51(defcustom texinfo-close-quote "''" 51(defcustom texinfo-close-quote (purecopy "''")
52 "String inserted by typing \\[texinfo-insert-quote] to close a quotation." 52 "String inserted by typing \\[texinfo-insert-quote] to close a quotation."
53 :type 'string 53 :type 'string
54 :group 'texinfo) 54 :group 'texinfo)
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index 49ecaffd0e6..dceea337851 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -115,7 +115,7 @@ the value of `tooltip-y-offset' is ignored."
115 :group 'tooltip) 115 :group 'tooltip)
116 116
117(defcustom tooltip-frame-parameters 117(defcustom tooltip-frame-parameters
118 '((name . "tooltip") 118 `((name . (purecopy "tooltip"))
119 (internal-border-width . 2) 119 (internal-border-width . 2)
120 (border-width . 1)) 120 (border-width . 1))
121 "Frame parameters used for tooltips. 121 "Frame parameters used for tooltips.
diff --git a/lisp/widget.el b/lisp/widget.el
index 2614995331d..d8b55a1bfb3 100644
--- a/lisp/widget.el
+++ b/lisp/widget.el
@@ -85,7 +85,7 @@ create identical widgets:
85 85
86The third argument DOC is a documentation string for the widget." 86The third argument DOC is a documentation string for the widget."
87 (put name 'widget-type (cons class args)) 87 (put name 'widget-type (cons class args))
88 (put name 'widget-documentation doc) 88 (put name 'widget-documentation (purecopy doc))
89 name) 89 name)
90 90
91;; This is used by external widget code (in W3, at least). 91;; This is used by external widget code (in W3, at least).