aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorDan Nicolaescu2009-10-26 06:43:36 +0000
committerDan Nicolaescu2009-10-26 06:43:36 +0000
commita7610c523cdd0f381e05d10dd2e5abdaf60f8bbf (patch)
treeba103f8b4ce4e22edef6b80ca67052499f0e2e59 /lisp/textmodes
parent0667de2146b9f62e66133f9eca6393e0bb00274c (diff)
downloademacs-a7610c523cdd0f381e05d10dd2e5abdaf60f8bbf.tar.gz
emacs-a7610c523cdd0f381e05d10dd2e5abdaf60f8bbf.zip
* textmodes/tex-mode.el (tex-dvi-view-command)
(tex-show-queue-command, tex-open-quote): * progmodes/ruby-mode.el (auto-mode-alist) (interpreter-mode-alist): Purecopy strings. * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names. * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc string for the hook, keymap and abbrev table. * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name. * x-dnd.el (x-dnd-xdnd-to-action): * startup.el (fancy-startup-text, fancy-about-text): Change to defconst from defvar. * ps-print.el (ps-page-dimensions-database): Purecopy initial value. * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist): Purecopy initialization strings. * mail/sendmail.el (mail-header-separator) (mail-personal-alias-file): * mail/rmail.el (rmail-default-dont-reply-to-names) (rmail-ignored-headers, rmail-retry-ignored-headers) (rmail-highlighted-headers, rmail-secondary-file-directory) (rmail-secondary-file-regexp): * files.el (null-device, file-name-invalid-regexp) (locate-dominating-stop-dir-regexp) (inhibit-first-line-modes-regexps): Purecopy initialization strings. (interpreter-mode-alist): Use mapcar instead of mapc. * buff-menu.el (Buffer-menu-mode-map): Purecopy name. * bindings.el (mode-line-major-mode-keymap): Purecopy name. (completion-ignored-extensions): (debug-ignored-errors): Purecopy strings.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tex-mode.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 6a34956604c..f4aca3198ab 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -199,10 +199,10 @@ use."
199 199
200;;;###autoload 200;;;###autoload
201(defcustom tex-dvi-view-command 201(defcustom tex-dvi-view-command
202 '(cond 202 `(cond
203 ((eq window-system 'x) "xdvi") 203 ((eq window-system 'x) ,(purecopy "xdvi"))
204 ((eq window-system 'w32) "yap") 204 ((eq window-system 'w32) ,(purecopy "yap"))
205 (t "dvi2tty * | cat -s")) 205 (t ,(purecopy "dvi2tty * | cat -s")))
206 "*Command used by \\[tex-view] to display a `.dvi' file. 206 "*Command used by \\[tex-view] to display a `.dvi' file.
207If it is a string, that specifies the command directly. 207If it is a string, that specifies the command directly.
208If this string contains an asterisk (`*'), that is replaced by the file name; 208If this string contains an asterisk (`*'), that is replaced by the file name;
@@ -213,7 +213,7 @@ If the value is a form, it is evaluated to get the command to use."
213 :group 'tex-view) 213 :group 'tex-view)
214 214
215;;;###autoload 215;;;###autoload
216(defcustom tex-show-queue-command "lpq" 216(defcustom tex-show-queue-command (purecopy "lpq")
217 "*Command used by \\[tex-show-print-queue] to show the print queue. 217 "*Command used by \\[tex-show-print-queue] to show the print queue.
218Should show the queue(s) that \\[tex-print] puts jobs on." 218Should show the queue(s) that \\[tex-print] puts jobs on."
219 :type 'string 219 :type 'string
@@ -229,14 +229,14 @@ Normally set to either `plain-tex-mode' or `latex-mode'."
229 :group 'tex) 229 :group 'tex)
230 230
231;;;###autoload 231;;;###autoload
232(defcustom tex-open-quote "``" 232(defcustom tex-open-quote (purecopy "``")
233 "*String inserted by typing \\[tex-insert-quote] to open a quotation." 233 "*String inserted by typing \\[tex-insert-quote] to open a quotation."
234 :type 'string 234 :type 'string
235 :options '("``" "\"<" "\"`" "<<" "«") 235 :options '("``" "\"<" "\"`" "<<" "«")
236 :group 'tex) 236 :group 'tex)
237 237
238;;;###autoload 238;;;###autoload
239(defcustom tex-close-quote "''" 239(defcustom tex-close-quote (purecopy "''")
240 "*String inserted by typing \\[tex-insert-quote] to close a quotation." 240 "*String inserted by typing \\[tex-insert-quote] to close a quotation."
241 :type 'string 241 :type 'string
242 :options '("''" "\">" "\"'" ">>" "»") 242 :options '("''" "\">" "\"'" ">>" "»")