diff options
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/bib-mode.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 12 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-ref.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-toc.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 8 | ||||
| -rw-r--r-- | lisp/textmodes/texinfmt.el | 6 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/texnfo-upd.el | 2 |
9 files changed, 20 insertions, 20 deletions
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el index 12b7fc46b4a..2ed5ad89eab 100644 --- a/lisp/textmodes/bib-mode.el +++ b/lisp/textmodes/bib-mode.el | |||
| @@ -82,8 +82,8 @@ A uthor T itle D ate J ournal | |||
| 82 | V olume N umber P age K eywords | 82 | V olume N umber P age K eywords |
| 83 | B in book or proceedings E ditor C ity & state | 83 | B in book or proceedings E ditor C ity & state |
| 84 | I nstitution, school, or publisher | 84 | I nstitution, school, or publisher |
| 85 | R eport number or 'phd thesis' or 'masters thesis' or 'draft' or | 85 | R eport number or `phd thesis' or `masters thesis' or `draft' or |
| 86 | 'unnumbered' or 'unpublished' | 86 | `unnumbered' or `unpublished' |
| 87 | W here can be found locally (login name, or ailib, etc.) | 87 | W here can be found locally (login name, or ailib, etc.) |
| 88 | X comments (not used in indexing) | 88 | X comments (not used in indexing) |
| 89 | 89 | ||
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 14f8744077a..6c4a731629c 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -501,7 +501,7 @@ invoking `ispell-change-dictionary'. | |||
| 501 | 501 | ||
| 502 | Consider using the `ispell-parser' to check your text. For instance | 502 | Consider using the `ispell-parser' to check your text. For instance |
| 503 | consider adding: | 503 | consider adding: |
| 504 | \(add-hook 'tex-mode-hook (function (lambda () (setq ispell-parser 'tex)))) | 504 | \(add-hook \\='tex-mode-hook (function (lambda () (setq ispell-parser \\='tex)))) |
| 505 | in your init file. | 505 | in your init file. |
| 506 | 506 | ||
| 507 | \\[flyspell-region] checks all words inside a region. | 507 | \\[flyspell-region] checks all words inside a region. |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 8627404ddfe..76e147a6f93 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -1896,7 +1896,7 @@ Currently the only other valid parser is `tex'. | |||
| 1896 | 1896 | ||
| 1897 | You can set this variable in hooks in your init file -- eg: | 1897 | You can set this variable in hooks in your init file -- eg: |
| 1898 | 1898 | ||
| 1899 | \(add-hook 'tex-mode-hook (lambda () (setq ispell-parser 'tex)))") | 1899 | \(add-hook \\='tex-mode-hook (lambda () (setq ispell-parser \\='tex)))") |
| 1900 | 1900 | ||
| 1901 | (defvar ispell-region-end (make-marker) | 1901 | (defvar ispell-region-end (make-marker) |
| 1902 | "Marker that allows spelling continuations.") | 1902 | "Marker that allows spelling continuations.") |
| @@ -4039,14 +4039,14 @@ The `X' command aborts sending the message so that you can edit the buffer. | |||
| 4039 | 4039 | ||
| 4040 | To spell-check whenever a message is sent, include the appropriate lines | 4040 | To spell-check whenever a message is sent, include the appropriate lines |
| 4041 | in your init file: | 4041 | in your init file: |
| 4042 | (add-hook 'message-send-hook 'ispell-message) ;; GNUS 5 | 4042 | (add-hook \\='message-send-hook \\='ispell-message) ;; GNUS 5 |
| 4043 | (add-hook 'news-inews-hook 'ispell-message) ;; GNUS 4 | 4043 | (add-hook \\='news-inews-hook \\='ispell-message) ;; GNUS 4 |
| 4044 | (add-hook 'mail-send-hook 'ispell-message) | 4044 | (add-hook \\='mail-send-hook \\='ispell-message) |
| 4045 | (add-hook 'mh-before-send-letter-hook 'ispell-message) | 4045 | (add-hook \\='mh-before-send-letter-hook \\='ispell-message) |
| 4046 | 4046 | ||
| 4047 | You can bind this to the key C-c i in GNUS or mail by adding to | 4047 | You can bind this to the key C-c i in GNUS or mail by adding to |
| 4048 | `news-reply-mode-hook' or `mail-mode-hook' the following lambda expression: | 4048 | `news-reply-mode-hook' or `mail-mode-hook' the following lambda expression: |
| 4049 | (function (lambda () (local-set-key \"\\C-ci\" 'ispell-message)))" | 4049 | (function (lambda () (local-set-key \"\\C-ci\" \\='ispell-message)))" |
| 4050 | (interactive) | 4050 | (interactive) |
| 4051 | (save-excursion | 4051 | (save-excursion |
| 4052 | (goto-char (point-min)) | 4052 | (goto-char (point-min)) |
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el index d0e09bff880..07147230094 100644 --- a/lisp/textmodes/reftex-ref.el +++ b/lisp/textmodes/reftex-ref.el | |||
| @@ -228,7 +228,7 @@ This function is controlled by the settings of reftex-insert-label-flags." | |||
| 228 | (symbol-value reftex-docstruct-symbol))) | 228 | (symbol-value reftex-docstruct-symbol))) |
| 229 | (ding) | 229 | (ding) |
| 230 | (if (y-or-n-p | 230 | (if (y-or-n-p |
| 231 | (format "Label '%s' exists. Use anyway? " label)) | 231 | (format-message "Label ‘%s’ exists. Use anyway? " label)) |
| 232 | (setq valid t))) | 232 | (setq valid t))) |
| 233 | 233 | ||
| 234 | ;; Label is ok | 234 | ;; Label is ok |
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index d51fb9b2d4a..b9d4b7c0f2a 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el | |||
| @@ -876,7 +876,7 @@ label prefix determines the wording of a reference." | |||
| 876 | (setq newlabel (read-string (format "Rename label \"%s\" to:" label))) | 876 | (setq newlabel (read-string (format "Rename label \"%s\" to:" label))) |
| 877 | (if (assoc newlabel (symbol-value reftex-docstruct-symbol)) | 877 | (if (assoc newlabel (symbol-value reftex-docstruct-symbol)) |
| 878 | (if (not (y-or-n-p | 878 | (if (not (y-or-n-p |
| 879 | (format "Label '%s' exists. Use anyway? " label))) | 879 | (format-message "Label ‘%s’ exists. Use anyway? " label))) |
| 880 | (error "Abort"))) | 880 | (error "Abort"))) |
| 881 | (save-excursion | 881 | (save-excursion |
| 882 | (save-window-excursion | 882 | (save-window-excursion |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 78cfbeaf895..751c8012bf9 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -1035,7 +1035,7 @@ says which mode to use." | |||
| 1035 | "Major mode for editing files of input for plain TeX. | 1035 | "Major mode for editing files of input for plain TeX. |
| 1036 | Makes $ and } display the characters they match. | 1036 | Makes $ and } display the characters they match. |
| 1037 | Makes \" insert \\=`\\=` when it seems to be the beginning of a quotation, | 1037 | Makes \" insert \\=`\\=` when it seems to be the beginning of a quotation, |
| 1038 | and '' when it appears to be the end; it inserts \" only after a \\. | 1038 | and \\='\\=' when it appears to be the end; it inserts \" only after a \\. |
| 1039 | 1039 | ||
| 1040 | Use \\[tex-region] to run TeX on the current region, plus a \"header\" | 1040 | Use \\[tex-region] to run TeX on the current region, plus a \"header\" |
| 1041 | copied from the top of the file (containing macro definitions, etc.), | 1041 | copied from the top of the file (containing macro definitions, etc.), |
| @@ -1081,7 +1081,7 @@ special subshell is initiated, the hook `tex-shell-hook' is run." | |||
| 1081 | "Major mode for editing files of input for LaTeX. | 1081 | "Major mode for editing files of input for LaTeX. |
| 1082 | Makes $ and } display the characters they match. | 1082 | Makes $ and } display the characters they match. |
| 1083 | Makes \" insert \\=`\\=` when it seems to be the beginning of a quotation, | 1083 | Makes \" insert \\=`\\=` when it seems to be the beginning of a quotation, |
| 1084 | and '' when it appears to be the end; it inserts \" only after a \\. | 1084 | and \\='\\=' when it appears to be the end; it inserts \" only after a \\. |
| 1085 | 1085 | ||
| 1086 | Use \\[tex-region] to run LaTeX on the current region, plus the preamble | 1086 | Use \\[tex-region] to run LaTeX on the current region, plus the preamble |
| 1087 | copied from the top of the file (containing \\documentstyle, etc.), | 1087 | copied from the top of the file (containing \\documentstyle, etc.), |
| @@ -1163,7 +1163,7 @@ subshell is initiated, `tex-shell-hook' is run." | |||
| 1163 | "Major mode for editing files of input for SliTeX. | 1163 | "Major mode for editing files of input for SliTeX. |
| 1164 | Makes $ and } display the characters they match. | 1164 | Makes $ and } display the characters they match. |
| 1165 | Makes \" insert \\=`\\=` when it seems to be the beginning of a quotation, | 1165 | Makes \" insert \\=`\\=` when it seems to be the beginning of a quotation, |
| 1166 | and '' when it appears to be the end; it inserts \" only after a \\. | 1166 | and \\='\\=' when it appears to be the end; it inserts \" only after a \\. |
| 1167 | 1167 | ||
| 1168 | Use \\[tex-region] to run SliTeX on the current region, plus the preamble | 1168 | Use \\[tex-region] to run SliTeX on the current region, plus the preamble |
| 1169 | copied from the top of the file (containing \\documentstyle, etc.), | 1169 | copied from the top of the file (containing \\documentstyle, etc.), |
| @@ -1301,7 +1301,7 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook | |||
| 1301 | (defun tex-insert-quote (arg) | 1301 | (defun tex-insert-quote (arg) |
| 1302 | "Insert the appropriate quote marks for TeX. | 1302 | "Insert the appropriate quote marks for TeX. |
| 1303 | Inserts the value of `tex-open-quote' (normally \\=`\\=`) or `tex-close-quote' | 1303 | Inserts the value of `tex-open-quote' (normally \\=`\\=`) or `tex-close-quote' |
| 1304 | \(normally '') depending on the context. With prefix argument, always | 1304 | \(normally \\='\\=') depending on the context. With prefix argument, always |
| 1305 | inserts \" characters." | 1305 | inserts \" characters." |
| 1306 | (interactive "*P") | 1306 | (interactive "*P") |
| 1307 | ;; Discover if we'll be inserting normal double quotes. | 1307 | ;; Discover if we'll be inserting normal double quotes. |
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 8e4a7e9186d..d08daea0310 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -1287,7 +1287,7 @@ Leave point after argument." | |||
| 1287 | (put 'uref 'texinfo-format 'texinfo-format-uref) | 1287 | (put 'uref 'texinfo-format 'texinfo-format-uref) |
| 1288 | (defun texinfo-format-uref () | 1288 | (defun texinfo-format-uref () |
| 1289 | "Format URL and optional URL-TITLE. | 1289 | "Format URL and optional URL-TITLE. |
| 1290 | Insert \\=` ... ' around URL if no URL-TITLE argument; | 1290 | Insert \\=` ... \\=' around URL if no URL-TITLE argument; |
| 1291 | otherwise, insert URL-TITLE followed by URL in parentheses." | 1291 | otherwise, insert URL-TITLE followed by URL in parentheses." |
| 1292 | (let ((args (texinfo-format-parse-args))) | 1292 | (let ((args (texinfo-format-parse-args))) |
| 1293 | (texinfo-discard-command) | 1293 | (texinfo-discard-command) |
| @@ -2447,7 +2447,7 @@ Use only the FILENAME arg; for Info, ignore the other arguments to @image." | |||
| 2447 | ;; not lead to inserted ` ... ' in a table, but does elsewhere. | 2447 | ;; not lead to inserted ` ... ' in a table, but does elsewhere. |
| 2448 | (put 'option 'texinfo-format 'texinfo-format-option) | 2448 | (put 'option 'texinfo-format 'texinfo-format-option) |
| 2449 | (defun texinfo-format-option () | 2449 | (defun texinfo-format-option () |
| 2450 | "Insert \\=` ... ' around arg unless inside a table; in that case, no quotes." | 2450 | "Insert \\=` ... \\=' around arg unless inside a table; in that case, no quotes." |
| 2451 | ;; `looking-at-backward' not available in v. 18.57, 20.2 | 2451 | ;; `looking-at-backward' not available in v. 18.57, 20.2 |
| 2452 | (if (not (search-backward "" ; searched-for character is a control-H | 2452 | (if (not (search-backward "" ; searched-for character is a control-H |
| 2453 | (line-beginning-position) | 2453 | (line-beginning-position) |
| @@ -2494,7 +2494,7 @@ Enclose the verbatim text, including the delimiters, in braces. Print | |||
| 2494 | text exactly as written (but not the delimiters) in a fixed-width. | 2494 | text exactly as written (but not the delimiters) in a fixed-width. |
| 2495 | 2495 | ||
| 2496 | For example, @verb\{|@|\} results in @ and | 2496 | For example, @verb\{|@|\} results in @ and |
| 2497 | @verb\{+@'e?\\=`!\\=`+} results in @'e?\\=`!\\=`." | 2497 | @verb\{+@\\='e?\\=`!\\=`+} results in @\\='e?\\=`!\\=`." |
| 2498 | 2498 | ||
| 2499 | (let ((delimiter (buffer-substring-no-properties | 2499 | (let ((delimiter (buffer-substring-no-properties |
| 2500 | (1+ texinfo-command-end) (+ 2 texinfo-command-end)))) | 2500 | (1+ texinfo-command-end) (+ 2 texinfo-command-end)))) |
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 6b28249c427..2c6d5b3827c 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -690,7 +690,7 @@ Puts point on a blank line between them." | |||
| 690 | (defun texinfo-insert-quote (&optional arg) | 690 | (defun texinfo-insert-quote (&optional arg) |
| 691 | "Insert the appropriate quote mark for Texinfo. | 691 | "Insert the appropriate quote mark for Texinfo. |
| 692 | Usually inserts the value of `texinfo-open-quote' (normally \\=`\\=`) or | 692 | Usually inserts the value of `texinfo-open-quote' (normally \\=`\\=`) or |
| 693 | `texinfo-close-quote' (normally ''), depending on the context. | 693 | `texinfo-close-quote' (normally \\='\\='), depending on the context. |
| 694 | With prefix argument or inside @code or @example, inserts a plain \"." | 694 | With prefix argument or inside @code or @example, inserts a plain \"." |
| 695 | (interactive "*P") | 695 | (interactive "*P") |
| 696 | (let ((top (or (save-excursion (re-search-backward "@node\\>" nil t)) | 696 | (let ((top (or (save-excursion (re-search-backward "@node\\>" nil t)) |
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el index eefea1f8493..0ce70644b03 100644 --- a/lisp/textmodes/texnfo-upd.el +++ b/lisp/textmodes/texnfo-upd.el | |||
| @@ -1407,7 +1407,7 @@ level in the Texinfo file; when looking for the `Previous' pointer, | |||
| 1407 | the section found will be at the same or higher hierarchical level in | 1407 | the section found will be at the same or higher hierarchical level in |
| 1408 | the Texinfo file; when looking for the `Up' pointer, the section found | 1408 | the Texinfo file; when looking for the `Up' pointer, the section found |
| 1409 | will be at some level higher in the Texinfo file. The fourth argument | 1409 | will be at some level higher in the Texinfo file. The fourth argument |
| 1410 | \(one of 'next, 'previous, or 'up\) specifies whether to find the | 1410 | \(one of `next’, `previous’, or `up'\) specifies whether to find the |
| 1411 | `Next', `Previous', or `Up' pointer." | 1411 | `Next', `Previous', or `Up' pointer." |
| 1412 | (let ((case-fold-search t)) | 1412 | (let ((case-fold-search t)) |
| 1413 | (cond ((eq direction 'next) | 1413 | (cond ((eq direction 'next) |