diff options
| -rw-r--r-- | lisp/ChangeLog | 18 | ||||
| -rw-r--r-- | lisp/comint.el | 2 | ||||
| -rw-r--r-- | lisp/dired.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eldoc.el | 2 | ||||
| -rw-r--r-- | lisp/international/mule-cmds.el | 2 | ||||
| -rw-r--r-- | lisp/international/mule-conf.el | 3 | ||||
| -rw-r--r-- | lisp/language/korea-util.el | 4 | ||||
| -rw-r--r-- | lisp/newcomment.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/inf-lisp.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/bibtex-style.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 4 | ||||
| -rw-r--r-- | lisp/tooltip.el | 2 | ||||
| -rw-r--r-- | lisp/widget.el | 2 |
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 @@ | |||
| 1 | 2009-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 | |||
| 1 | 2009-11-11 Michael Albinus <michael.albinus@gmx.de> | 19 | 2009-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. |
| 2674 | This is used by Comint's and shell's completion functions, and by shell's | 2674 | This is used by Comint's and shell's completion functions, and by shell's |
| 2675 | directory tracking functions.") | 2675 | directory 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. |
| 110 | A value of nil means move to the subdir line. | 110 | A value of nil means move to the subdir line. |
| 111 | A value of t means move to first file." | 111 | A 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. |
| 127 | Should be an empty string if comments are terminated by end-of-line.") | 127 | Should 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. |
| 223 | Can also be an integer which will be automatically turned into a string | 223 | Can also be an integer which will be automatically turned into a string |
| 224 | of the corresponding number of spaces. | 224 | of 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 | ||
| 594 | Sometimes it is useful for files to supply local values for this variable. | 594 | Sometimes 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. |
| 164 | Defaults to \"^[^> \\n]*>+:? *\", which works pretty good for Lucid, kcl, | 164 | Defaults to \"^[^> \\n]*>+:? *\", which works pretty good for Lucid, kcl, |
| 165 | and franz. This variable is used to initialize `comint-prompt-regexp' in the | 165 | and 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 | ||
| 86 | The third argument DOC is a documentation string for the widget." | 86 | The 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). |