aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2024-12-09 03:47:37 +0100
committerStefan Kangas2024-12-12 22:48:17 +0100
commite44b1bf5cca00edb87452f864e9c450116d8f830 (patch)
tree5d52f6063c407da5cf75718cf5c094220f2b5f80
parent04408e198f1acc2eeae2ca299de994ba38116d1a (diff)
downloademacs-e44b1bf5cca00edb87452f864e9c450116d8f830.tar.gz
emacs-e44b1bf5cca00edb87452f864e9c450116d8f830.zip
Don't call purecopy in textmodes/*.el
* lisp/textmodes/bibtex.el (bibtex-url, bibtex-search-crossref): * lisp/textmodes/fill.el (adaptive-fill-regexp) (adaptive-fill-first-line-regexp): * lisp/textmodes/ispell.el (ispell-menu-map) (ispell-skip-region-alist, ispell-tex-skip-alists): * lisp/textmodes/rst.el (auto-mode-alist): * lisp/textmodes/texinfo.el (texinfo-open-quote): * lisp/textmodes/tex-mode.el (tex-directory, tex-run-command) (latex-run-command, slitex-run-command, tex-start-options) (tex-start-commands, tex-bibtex-command, tex-dvi-print-command) (tex-alt-dvi-print-command, tex-dvi-view-command) (tex-show-queue-command, tex-open-quote, tex-close-quote): * lisp/textmodes/texinfo.el (texinfo-open-quote) (texinfo-close-quote): Remove calls to purecopy.
-rw-r--r--lisp/textmodes/bibtex.el4
-rw-r--r--lisp/textmodes/fill.el4
-rw-r--r--lisp/textmodes/ispell.el83
-rw-r--r--lisp/textmodes/rst.el2
-rw-r--r--lisp/textmodes/tex-mode.el30
-rw-r--r--lisp/textmodes/texinfo.el4
6 files changed, 63 insertions, 64 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 99a97c9bb8d..eb3ae58e70f 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -3556,12 +3556,12 @@ BOUND limits the search."
3556(define-button-type 'bibtex-url 3556(define-button-type 'bibtex-url
3557 'action 'bibtex-button-action 3557 'action 'bibtex-button-action
3558 'bibtex-function #'bibtex-url 3558 'bibtex-function #'bibtex-url
3559 'help-echo (purecopy "mouse-2, RET: follow URL")) 3559 'help-echo "mouse-2, RET: follow URL")
3560 3560
3561(define-button-type 'bibtex-search-crossref 3561(define-button-type 'bibtex-search-crossref
3562 'action 'bibtex-button-action 3562 'action 'bibtex-button-action
3563 'bibtex-function #'bibtex-search-crossref 3563 'bibtex-function #'bibtex-search-crossref
3564 'help-echo (purecopy "mouse-2, RET: follow crossref")) 3564 'help-echo "mouse-2, RET: follow crossref")
3565 3565
3566(defun bibtex-button (beg end type &rest args) 3566(defun bibtex-button (beg end type &rest args)
3567 "Make a BibTeX button from BEG to END of type TYPE in the current buffer." 3567 "Make a BibTeX button from BEG to END of type TYPE in the current buffer."
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 11c67d2dc51..b7bb444f105 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -103,7 +103,7 @@ reinserts the fill prefix in each resulting line."
103 ;; Added `%' for TeX comments. 103 ;; Added `%' for TeX comments.
104 ;; RMS: deleted the code to match `1.' and `(1)'. 104 ;; RMS: deleted the code to match `1.' and `(1)'.
105 ;; Update mail-mode's paragraph-separate if you change this. 105 ;; Update mail-mode's paragraph-separate if you change this.
106 (purecopy "[-–!|#%;>*·•‣⁃◦ \t]*") 106 "[-–!|#%;>*·•‣⁃◦ \t]*"
107 "Regexp to match text at start of line that constitutes indentation. 107 "Regexp to match text at start of line that constitutes indentation.
108If Adaptive Fill mode is enabled, a prefix matching this pattern 108If Adaptive Fill mode is enabled, a prefix matching this pattern
109on the first and second lines of a paragraph is used as the 109on the first and second lines of a paragraph is used as the
@@ -114,7 +114,7 @@ line, but in that case `adaptive-fill-first-line-regexp' also plays
114a role." 114a role."
115 :type 'regexp) 115 :type 'regexp)
116 116
117(defcustom adaptive-fill-first-line-regexp (purecopy "\\`[ \t]*\\'") 117(defcustom adaptive-fill-first-line-regexp "\\`[ \t]*\\'"
118 "Regexp specifying whether to set fill prefix from a one-line paragraph. 118 "Regexp specifying whether to set fill prefix from a one-line paragraph.
119When a paragraph has just one line, then after `adaptive-fill-regexp' 119When a paragraph has just one line, then after `adaptive-fill-regexp'
120finds the prefix at the beginning of the line, if it doesn't 120finds the prefix at the beginning of the line, if it doesn't
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 404f682d379..d37a8c8af8d 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1427,66 +1427,66 @@ The variable `ispell-library-directory' defines their location."
1427 ;; Define commands in menu in opposite order you want them to appear. 1427 ;; Define commands in menu in opposite order you want them to appear.
1428 (let ((map (make-sparse-keymap "Spell"))) 1428 (let ((map (make-sparse-keymap "Spell")))
1429 (define-key map [ispell-change-dictionary] 1429 (define-key map [ispell-change-dictionary]
1430 `(menu-item ,(purecopy "Change Dictionary...") ispell-change-dictionary 1430 '(menu-item "Change Dictionary..." ispell-change-dictionary
1431 :help ,(purecopy "Supply explicit dictionary file name"))) 1431 :help "Supply explicit dictionary file name"))
1432 (define-key map [ispell-kill-ispell] 1432 (define-key map [ispell-kill-ispell]
1433 `(menu-item ,(purecopy "Kill Process") 1433 `(menu-item "Kill Process"
1434 (lambda () (interactive) (ispell-kill-ispell nil 'clear)) 1434 ,(lambda () (interactive) (ispell-kill-ispell nil 'clear))
1435 :enable (and (boundp 'ispell-process) ispell-process 1435 :enable (and (boundp 'ispell-process) ispell-process
1436 (eq (ispell-process-status) 'run)) 1436 (eq (ispell-process-status) 'run))
1437 :help ,(purecopy "Terminate Ispell subprocess"))) 1437 :help "Terminate Ispell subprocess"))
1438 (define-key map [ispell-pdict-save] 1438 (define-key map [ispell-pdict-save]
1439 `(menu-item ,(purecopy "Save Dictionary") 1439 `(menu-item "Save Dictionary"
1440 (lambda () (interactive) (ispell-pdict-save t t)) 1440 ,(lambda () (interactive) (ispell-pdict-save t t))
1441 :help ,(purecopy "Save personal dictionary"))) 1441 :help "Save personal dictionary"))
1442 (define-key map [ispell-customize] 1442 (define-key map [ispell-customize]
1443 `(menu-item ,(purecopy "Customize...") 1443 `(menu-item "Customize..."
1444 (lambda () (interactive) (customize-group 'ispell)) 1444 ,(lambda () (interactive) (customize-group 'ispell))
1445 :help ,(purecopy "Customize spell checking options"))) 1445 :help "Customize spell checking options"))
1446 (define-key map [ispell-help] 1446 (define-key map [ispell-help]
1447 ;; use (x-popup-menu last-nonmenu-event(list "" ispell-help-list)) ? 1447 ;; use (x-popup-menu last-nonmenu-event(list "" ispell-help-list)) ?
1448 `(menu-item ,(purecopy "Help") 1448 `(menu-item "Help"
1449 (lambda () (interactive) (describe-function 'ispell-help)) 1449 ,(lambda () (interactive) (describe-function 'ispell-help))
1450 :help ,(purecopy "Show standard Ispell keybindings and commands"))) 1450 :help "Show standard Ispell keybindings and commands"))
1451 (define-key map [flyspell-mode] 1451 (define-key map [flyspell-mode]
1452 `(menu-item ,(purecopy "Automatic spell checking (Flyspell)") 1452 '(menu-item "Automatic spell checking (Flyspell)"
1453 flyspell-mode 1453 flyspell-mode
1454 :help ,(purecopy "Check spelling while you edit the text") 1454 :help "Check spelling while you edit the text"
1455 :button (:toggle . (bound-and-true-p flyspell-mode)))) 1455 :button (:toggle . (bound-and-true-p flyspell-mode))))
1456 (define-key map [ispell-complete-word] 1456 (define-key map [ispell-complete-word]
1457 `(menu-item ,(purecopy "Complete Word") ispell-complete-word 1457 '(menu-item "Complete Word" ispell-complete-word
1458 :help ,(purecopy "Complete word at cursor using dictionary"))) 1458 :help "Complete word at cursor using dictionary"))
1459 (define-key map [ispell-complete-word-interior-frag] 1459 (define-key map [ispell-complete-word-interior-frag]
1460 `(menu-item ,(purecopy "Complete Word Fragment") 1460 '(menu-item "Complete Word Fragment"
1461 ispell-complete-word-interior-frag 1461 ispell-complete-word-interior-frag
1462 :help ,(purecopy "Complete word fragment at cursor"))) 1462 :help "Complete word fragment at cursor"))
1463 1463
1464 (define-key map [ispell-continue] 1464 (define-key map [ispell-continue]
1465 `(menu-item ,(purecopy "Continue Spell-Checking") ispell-continue 1465 '(menu-item "Continue Spell-Checking" ispell-continue
1466 :enable (and (boundp 'ispell-region-end) 1466 :enable (and (boundp 'ispell-region-end)
1467 (marker-position ispell-region-end) 1467 (marker-position ispell-region-end)
1468 (equal (marker-buffer ispell-region-end) 1468 (equal (marker-buffer ispell-region-end)
1469 (current-buffer))) 1469 (current-buffer)))
1470 :help ,(purecopy "Continue spell checking last region"))) 1470 :help "Continue spell checking last region"))
1471 (define-key map [ispell-word] 1471 (define-key map [ispell-word]
1472 `(menu-item ,(purecopy "Spell-Check Word") ispell-word 1472 '(menu-item "Spell-Check Word" ispell-word
1473 :help ,(purecopy "Spell-check word at cursor"))) 1473 :help "Spell-check word at cursor"))
1474 (define-key map [ispell-comments-and-strings] 1474 (define-key map [ispell-comments-and-strings]
1475 `(menu-item ,(purecopy "Spell-Check Comments") 1475 '(menu-item "Spell-Check Comments"
1476 ispell-comments-and-strings 1476 ispell-comments-and-strings
1477 :help ,(purecopy "Spell-check only comments and strings"))) 1477 :help "Spell-check only comments and strings"))
1478 1478
1479 (define-key map [ispell-region] 1479 (define-key map [ispell-region]
1480 `(menu-item ,(purecopy "Spell-Check Region") ispell-region 1480 '(menu-item "Spell-Check Region" ispell-region
1481 :enable mark-active 1481 :enable mark-active
1482 :help ,(purecopy "Spell-check text in marked region"))) 1482 :help "Spell-check text in marked region"))
1483 (define-key map [ispell-message] 1483 (define-key map [ispell-message]
1484 `(menu-item ,(purecopy "Spell-Check Message") ispell-message 1484 '(menu-item "Spell-Check Message" ispell-message
1485 :visible (eq major-mode 'mail-mode) 1485 :visible (eq major-mode 'mail-mode)
1486 :help ,(purecopy "Skip headers and included message text"))) 1486 :help "Skip headers and included message text"))
1487 (define-key map [ispell-buffer] 1487 (define-key map [ispell-buffer]
1488 `(menu-item ,(purecopy "Spell-Check Buffer") ispell-buffer 1488 '(menu-item "Spell-Check Buffer" ispell-buffer
1489 :help ,(purecopy "Check spelling of selected buffer"))) 1489 :help "Check spelling of selected buffer"))
1490 map) 1490 map)
1491 "Key map for ispell menu.") 1491 "Key map for ispell menu.")
1492;;;###autoload 1492;;;###autoload
@@ -1659,21 +1659,21 @@ objects as practicable, without too many false matches happening."
1659 1659
1660;;;###autoload 1660;;;###autoload
1661(defvar ispell-skip-region-alist 1661(defvar ispell-skip-region-alist
1662 `((ispell-words-keyword forward-line) 1662 '((ispell-words-keyword forward-line)
1663 (ispell-dictionary-keyword forward-line) 1663 (ispell-dictionary-keyword forward-line)
1664 (ispell-pdict-keyword forward-line) 1664 (ispell-pdict-keyword forward-line)
1665 (ispell-parsing-keyword forward-line) 1665 (ispell-parsing-keyword forward-line)
1666 (,(purecopy "^---*BEGIN PGP [A-Z ]*--*") 1666 ("^---*BEGIN PGP [A-Z ]*--*"
1667 . ,(purecopy "^---*END PGP [A-Z ]*--*")) 1667 . "^---*END PGP [A-Z ]*--*")
1668 ;; assume multiline uuencoded file? "\nM.*$"? 1668 ;; assume multiline uuencoded file? "\nM.*$"?
1669 (,(purecopy "^begin [0-9][0-9][0-9] [^ \t]+$") . ,(purecopy "\nend\n")) 1669 ("^begin [0-9][0-9][0-9] [^ \t]+$" . "\nend\n")
1670 (,(purecopy "^%!PS-Adobe-[123].0") . ,(purecopy "\n%%EOF\n")) 1670 ("^%!PS-Adobe-[123].0" . "\n%%EOF\n")
1671 (,(purecopy "^---* \\(Start of \\)?[Ff]orwarded [Mm]essage") 1671 ("^---* \\(Start of \\)?[Ff]orwarded [Mm]essage"
1672 . ,(purecopy "^---* End of [Ff]orwarded [Mm]essage")) 1672 . "^---* End of [Ff]orwarded [Mm]essage")
1673 ;; Matches e-mail addresses, file names, http addresses, etc. The 1673 ;; Matches e-mail addresses, file names, http addresses, etc. The
1674 ;; `-+' `_+' patterns are necessary for performance reasons when 1674 ;; `-+' `_+' patterns are necessary for performance reasons when
1675 ;; `-' or `_' part of word syntax. 1675 ;; `-' or `_' part of word syntax.
1676; (,(purecopy "\\(--+\\|_+\\|\\(/\\w\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)")) 1676; ("\\(--+\\|_+\\|\\(/\\w\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)")
1677 ;; above checks /.\w sequences 1677 ;; above checks /.\w sequences
1678 ;;("\\(--+\\|\\(/\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)") 1678 ;;("\\(--+\\|\\(/\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)")
1679 ;; This is a pretty complex regexp. It can be simplified to the following: 1679 ;; This is a pretty complex regexp. It can be simplified to the following:
@@ -1696,7 +1696,6 @@ Valid forms include:
1696 1696
1697;;;###autoload 1697;;;###autoload
1698(defvar ispell-tex-skip-alists 1698(defvar ispell-tex-skip-alists
1699 (purecopy
1700 '((;;("%\\[" . "%\\]") ; AMStex block comment... 1699 '((;;("%\\[" . "%\\]") ; AMStex block comment...
1701 ;; All the standard LaTeX keywords from L. Lamport's guide: 1700 ;; All the standard LaTeX keywords from L. Lamport's guide:
1702 ;; \cite, \hspace, \hspace*, \hyphenation, \include, \includeonly, \input, 1701 ;; \cite, \hspace, \hspace*, \hyphenation, \include, \includeonly, \input,
@@ -1715,7 +1714,7 @@ Valid forms include:
1715 ("\\(figure\\|table\\)\\*?" ispell-tex-arg-end 0) 1714 ("\\(figure\\|table\\)\\*?" ispell-tex-arg-end 0)
1716 ("list" ispell-tex-arg-end 2) 1715 ("list" ispell-tex-arg-end 2)
1717 ("program" . "\\\\end[ \t]*{program}") 1716 ("program" . "\\\\end[ \t]*{program}")
1718 ("verbatim\\*?" . "\\\\end[ \t]*{verbatim\\*?}")))) 1717 ("verbatim\\*?" . "\\\\end[ \t]*{verbatim\\*?}")))
1719 "Lists of regions to be skipped in TeX mode. 1718 "Lists of regions to be skipped in TeX mode.
1720First list is used raw. 1719First list is used raw.
1721Second list has key placed inside \\begin{}. 1720Second list has key placed inside \\begin{}.
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el
index 25b04e55253..8826c19edba 100644
--- a/lisp/textmodes/rst.el
+++ b/lisp/textmodes/rst.el
@@ -1325,7 +1325,7 @@ The hook for `text-mode' is run before this one."
1325 1325
1326;; Use rst-mode for *.rst and *.rest files. Many ReStructured-Text files 1326;; Use rst-mode for *.rst and *.rest files. Many ReStructured-Text files
1327;; use *.txt, but this is too generic to be set as a default. 1327;; use *.txt, but this is too generic to be set as a default.
1328;;;###autoload (add-to-list 'auto-mode-alist (purecopy '("\\.re?st\\'" . rst-mode))) 1328;;;###autoload (add-to-list 'auto-mode-alist '("\\.re?st\\'" . rst-mode))
1329;;;###autoload 1329;;;###autoload
1330(define-derived-mode rst-mode text-mode "ReST" 1330(define-derived-mode rst-mode text-mode "ReST"
1331 "Major mode for editing reStructuredText documents. 1331 "Major mode for editing reStructuredText documents.
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index c82e589632e..41da2865315 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -64,7 +64,7 @@
64 :group 'tex-run) 64 :group 'tex-run)
65 65
66;;;###autoload 66;;;###autoload
67(defcustom tex-directory (purecopy ".") 67(defcustom tex-directory "."
68 "Directory in which temporary files are written. 68 "Directory in which temporary files are written.
69You can make this `/tmp' if your TEXINPUTS has no relative directories in it 69You can make this `/tmp' if your TEXINPUTS has no relative directories in it
70and you don't try to apply \\[tex-region] or \\[tex-buffer] when there are 70and you don't try to apply \\[tex-region] or \\[tex-buffer] when there are
@@ -98,7 +98,7 @@ if the variable is non-nil."
98 :group 'tex-file) 98 :group 'tex-file)
99 99
100;;;###autoload 100;;;###autoload
101(defcustom tex-run-command (purecopy "tex") 101(defcustom tex-run-command "tex"
102 "Command used to run TeX subjob. 102 "Command used to run TeX subjob.
103TeX Mode sets `tex-command' to this string. 103TeX Mode sets `tex-command' to this string.
104See the documentation of that variable." 104See the documentation of that variable."
@@ -106,7 +106,7 @@ See the documentation of that variable."
106 :group 'tex-run) 106 :group 'tex-run)
107 107
108;;;###autoload 108;;;###autoload
109(defcustom latex-run-command (purecopy "latex") 109(defcustom latex-run-command "latex"
110 "Command used to run LaTeX subjob. 110 "Command used to run LaTeX subjob.
111LaTeX Mode sets `tex-command' to this string. 111LaTeX Mode sets `tex-command' to this string.
112See the documentation of that variable." 112See the documentation of that variable."
@@ -114,7 +114,7 @@ See the documentation of that variable."
114 :group 'tex-run) 114 :group 'tex-run)
115 115
116;;;###autoload 116;;;###autoload
117(defcustom slitex-run-command (purecopy "slitex") 117(defcustom slitex-run-command "slitex"
118 "Command used to run SliTeX subjob. 118 "Command used to run SliTeX subjob.
119SliTeX Mode sets `tex-command' to this string. 119SliTeX Mode sets `tex-command' to this string.
120See the documentation of that variable." 120See the documentation of that variable."
@@ -122,7 +122,7 @@ See the documentation of that variable."
122 :group 'tex-run) 122 :group 'tex-run)
123 123
124;;;###autoload 124;;;###autoload
125(defcustom tex-start-options (purecopy "") 125(defcustom tex-start-options ""
126 "TeX options to use when starting TeX. 126 "TeX options to use when starting TeX.
127These immediately precede the commands in `tex-start-commands' 127These immediately precede the commands in `tex-start-commands'
128and the input file name, with no separating space and are not shell-quoted. 128and the input file name, with no separating space and are not shell-quoted.
@@ -132,7 +132,7 @@ If nil, TeX runs with no options. See the documentation of `tex-command'."
132 :version "22.1") 132 :version "22.1")
133 133
134;;;###autoload 134;;;###autoload
135(defcustom tex-start-commands (purecopy "\\nonstopmode\\input") 135(defcustom tex-start-commands "\\nonstopmode\\input"
136 "TeX commands to use when starting TeX. 136 "TeX commands to use when starting TeX.
137They are shell-quoted and precede the input file name, with a separating space. 137They are shell-quoted and precede the input file name, with a separating space.
138If nil, no commands are used. See the documentation of `tex-command'." 138If nil, no commands are used. See the documentation of `tex-command'."
@@ -163,7 +163,7 @@ Combined with `latex-standard-block-names' for minibuffer completion."
163 :group 'tex-run) 163 :group 'tex-run)
164 164
165;;;###autoload 165;;;###autoload
166(defcustom tex-bibtex-command (purecopy "bibtex") 166(defcustom tex-bibtex-command "bibtex"
167 "Command used by `tex-bibtex-file' to gather bibliographic data. 167 "Command used by `tex-bibtex-file' to gather bibliographic data.
168If this string contains an asterisk (`*'), that is replaced by the file name; 168If this string contains an asterisk (`*'), that is replaced by the file name;
169otherwise, the file name, preceded by blank, is added at the end." 169otherwise, the file name, preceded by blank, is added at the end."
@@ -171,7 +171,7 @@ otherwise, the file name, preceded by blank, is added at the end."
171 :group 'tex-run) 171 :group 'tex-run)
172 172
173;;;###autoload 173;;;###autoload
174(defcustom tex-dvi-print-command (purecopy "lpr -d") 174(defcustom tex-dvi-print-command "lpr -d"
175 "Command used by \\[tex-print] to print a .dvi file. 175 "Command used by \\[tex-print] to print a .dvi file.
176If this string contains an asterisk (`*'), that is replaced by the file name; 176If this string contains an asterisk (`*'), that is replaced by the file name;
177otherwise, the file name, preceded by blank, is added at the end." 177otherwise, the file name, preceded by blank, is added at the end."
@@ -179,7 +179,7 @@ otherwise, the file name, preceded by blank, is added at the end."
179 :group 'tex-view) 179 :group 'tex-view)
180 180
181;;;###autoload 181;;;###autoload
182(defcustom tex-alt-dvi-print-command (purecopy "lpr -d") 182(defcustom tex-alt-dvi-print-command "lpr -d"
183 "Command used by \\[tex-print] with a prefix arg to print a .dvi file. 183 "Command used by \\[tex-print] with a prefix arg to print a .dvi file.
184If this string contains an asterisk (`*'), that is replaced by the file name; 184If this string contains an asterisk (`*'), that is replaced by the file name;
185otherwise, the file name, preceded by blank, is added at the end. 185otherwise, the file name, preceded by blank, is added at the end.
@@ -199,9 +199,9 @@ use."
199 199
200;;;###autoload 200;;;###autoload
201(defcustom tex-dvi-view-command 201(defcustom tex-dvi-view-command
202 (cond ((eq window-system 'x) (purecopy "xdvi")) 202 (cond ((eq window-system 'x) "xdvi")
203 ((eq window-system 'w32) (purecopy "yap")) 203 ((eq window-system 'w32) "yap")
204 (t (purecopy "dvi2tty * | cat -s"))) 204 (t "dvi2tty * | cat -s"))
205 "Command used by \\[tex-view] to display a `.dvi' file. 205 "Command used by \\[tex-view] to display a `.dvi' file.
206If this string contains an asterisk (`*'), that is replaced by the file name; 206If this string contains an asterisk (`*'), that is replaced by the file name;
207otherwise, the file name, preceded by a space, is added at the end. 207otherwise, the file name, preceded by a space, is added at the end.
@@ -214,7 +214,7 @@ will lead to a warning. Set it to a string instead."
214 :group 'tex-view) 214 :group 'tex-view)
215 215
216;;;###autoload 216;;;###autoload
217(defcustom tex-show-queue-command (purecopy "lpq") 217(defcustom tex-show-queue-command "lpq"
218 "Command used by \\[tex-show-print-queue] to show the print queue. 218 "Command used by \\[tex-show-print-queue] to show the print queue.
219Should show the queue(s) that \\[tex-print] puts jobs on." 219Should show the queue(s) that \\[tex-print] puts jobs on."
220 :type 'string 220 :type 'string
@@ -230,14 +230,14 @@ Normally set to either `plain-tex-mode' or `latex-mode'."
230 :group 'tex) 230 :group 'tex)
231 231
232;;;###autoload 232;;;###autoload
233(defcustom tex-open-quote (purecopy "``") 233(defcustom tex-open-quote "``"
234 "String inserted by typing \\[tex-insert-quote] to open a quotation." 234 "String inserted by typing \\[tex-insert-quote] to open a quotation."
235 :type 'string 235 :type 'string
236 :options '("``" "\"<" "\"`" "<<" "«") 236 :options '("``" "\"<" "\"`" "<<" "«")
237 :group 'tex) 237 :group 'tex)
238 238
239;;;###autoload 239;;;###autoload
240(defcustom tex-close-quote (purecopy "''") 240(defcustom tex-close-quote "''"
241 "String inserted by typing \\[tex-insert-quote] to close a quotation." 241 "String inserted by typing \\[tex-insert-quote] to close a quotation."
242 :type 'string 242 :type 'string
243 :options '("''" "\">" "\"'" ">>" "»") 243 :options '("''" "\">" "\"'" ">>" "»")
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index bd371514df0..639368b7319 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -61,12 +61,12 @@
61 :group 'docs) 61 :group 'docs)
62 62
63;;;###autoload 63;;;###autoload
64(defcustom texinfo-open-quote (purecopy "``") 64(defcustom texinfo-open-quote "``"
65 "String inserted by typing \\[texinfo-insert-quote] to open a quotation." 65 "String inserted by typing \\[texinfo-insert-quote] to open a quotation."
66 :type 'string) 66 :type 'string)
67 67
68;;;###autoload 68;;;###autoload
69(defcustom texinfo-close-quote (purecopy "''") 69(defcustom texinfo-close-quote "''"
70 "String inserted by typing \\[texinfo-insert-quote] to close a quotation." 70 "String inserted by typing \\[texinfo-insert-quote] to close a quotation."
71 :type 'string) 71 :type 'string)
72 72