diff options
| author | Paul Eggert | 2015-09-17 16:08:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-09-17 16:09:39 -0700 |
| commit | 284c470ef752967fcd8bae6a450dc138462b1e49 (patch) | |
| tree | 83e8bcfe4c756e741ee9d4ecdf80f6b8d0e73c91 /lisp/textmodes | |
| parent | d149ff5233805c0a09b6067e0cf27549291cc83a (diff) | |
| download | emacs-284c470ef752967fcd8bae6a450dc138462b1e49.tar.gz emacs-284c470ef752967fcd8bae6a450dc138462b1e49.zip | |
Backslash cleanup in Elisp source files
This patch should not change behavior. It typically omits backslashes
where they are redundant (e.g., in the string literal "^\$").
In a few places, insert backslashes where they make regular
expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
"^\\*", which has the same effect as a regular expression.
Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
RCS IDs, as that makes it clearer that the backslash is intended.
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/bibtex.el | 8 | ||||
| -rw-r--r-- | lisp/textmodes/conf-mode.el | 6 | ||||
| -rw-r--r-- | lisp/textmodes/css-mode.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 12 | ||||
| -rw-r--r-- | lisp/textmodes/makeinfo.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/page-ext.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/refer.el | 10 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-cite.el | 6 | ||||
| -rw-r--r-- | lisp/textmodes/reftex.el | 6 | ||||
| -rw-r--r-- | lisp/textmodes/rst.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 10 | ||||
| -rw-r--r-- | lisp/textmodes/texinfmt.el | 8 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/texnfo-upd.el | 18 |
15 files changed, 50 insertions, 50 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 279f657c0ec..df8066ee2fc 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -433,7 +433,7 @@ is present; but these fields are required otherwise. | |||
| 433 | OPTIONAL is a list of optional fields. | 433 | OPTIONAL is a list of optional fields. |
| 434 | 434 | ||
| 435 | Each element of these lists is a list of the form | 435 | Each element of these lists is a list of the form |
| 436 | \(FIELD COMMENT INIT ALTERNATIVE). | 436 | (FIELD COMMENT INIT ALTERNATIVE). |
| 437 | COMMENT, INIT, and ALTERNATIVE are optional. | 437 | COMMENT, INIT, and ALTERNATIVE are optional. |
| 438 | 438 | ||
| 439 | FIELD is the name of the field. | 439 | FIELD is the name of the field. |
| @@ -2620,7 +2620,7 @@ is returned unchanged." | |||
| 2620 | "Get content of BibTeX field FIELD. Return empty string if not found. | 2620 | "Get content of BibTeX field FIELD. Return empty string if not found. |
| 2621 | Optional arg CHANGE-LIST is a list of substitution patterns that is | 2621 | Optional arg CHANGE-LIST is a list of substitution patterns that is |
| 2622 | applied to the content of FIELD. It is an alist with pairs | 2622 | applied to the content of FIELD. It is an alist with pairs |
| 2623 | \(OLD-REGEXP . NEW-STRING\)." | 2623 | \(OLD-REGEXP . NEW-STRING)." |
| 2624 | (let* ((bibtex-expand-strings bibtex-autokey-expand-strings) | 2624 | (let* ((bibtex-expand-strings bibtex-autokey-expand-strings) |
| 2625 | (content (bibtex-text-in-field field bibtex-autokey-use-crossref)) | 2625 | (content (bibtex-text-in-field field bibtex-autokey-use-crossref)) |
| 2626 | case-fold-search) | 2626 | case-fold-search) |
| @@ -3647,7 +3647,7 @@ If optional arg CONTENT is non-nil extract content of text fields." | |||
| 3647 | (defun bibtex-autofill-entry () | 3647 | (defun bibtex-autofill-entry () |
| 3648 | "Try to fill fields of current BibTeX entry based on neighboring entries. | 3648 | "Try to fill fields of current BibTeX entry based on neighboring entries. |
| 3649 | The current entry must have a key. Determine the neighboring entry | 3649 | The current entry must have a key. Determine the neighboring entry |
| 3650 | \(previous or next\) whose key is more similar to the key of the current | 3650 | \(previous or next) whose key is more similar to the key of the current |
| 3651 | entry. For all empty fields of the current entry insert the corresponding | 3651 | entry. For all empty fields of the current entry insert the corresponding |
| 3652 | field contents of the neighboring entry. Finally try to update the text | 3652 | field contents of the neighboring entry. Finally try to update the text |
| 3653 | based on the difference between the keys of the neighboring and the current | 3653 | based on the difference between the keys of the neighboring and the current |
| @@ -5111,7 +5111,7 @@ entries from minibuffer." | |||
| 5111 | "Browse a URL for the BibTeX entry at point. | 5111 | "Browse a URL for the BibTeX entry at point. |
| 5112 | Optional POS is the location of the BibTeX entry. | 5112 | Optional POS is the location of the BibTeX entry. |
| 5113 | The URL is generated using the schemes defined in `bibtex-generate-url-list' | 5113 | The URL is generated using the schemes defined in `bibtex-generate-url-list' |
| 5114 | \(see there\). If multiple schemes match for this entry, or the same scheme | 5114 | \(see there). If multiple schemes match for this entry, or the same scheme |
| 5115 | matches more than once, use the one for which the first step's match is the | 5115 | matches more than once, use the one for which the first step's match is the |
| 5116 | closest to POS. The URL is passed to `browse-url' unless NO-BROWSE is t. | 5116 | closest to POS. The URL is passed to `browse-url' unless NO-BROWSE is t. |
| 5117 | Return the URL or nil if none can be generated." | 5117 | Return the URL or nil if none can be generated." |
diff --git a/lisp/textmodes/conf-mode.el b/lisp/textmodes/conf-mode.el index 267d23f38de..770571a264e 100644 --- a/lisp/textmodes/conf-mode.el +++ b/lisp/textmodes/conf-mode.el | |||
| @@ -434,7 +434,7 @@ For details see `conf-mode'. Example: | |||
| 434 | 434 | ||
| 435 | # Conf mode font-locks this right on Unix and with \\[conf-unix-mode] | 435 | # Conf mode font-locks this right on Unix and with \\[conf-unix-mode] |
| 436 | 436 | ||
| 437 | \[Desktop Entry] | 437 | [Desktop Entry] |
| 438 | Encoding=UTF-8 | 438 | Encoding=UTF-8 |
| 439 | Name=The GIMP | 439 | Name=The GIMP |
| 440 | Name[ca]=El GIMP | 440 | Name[ca]=El GIMP |
| @@ -449,11 +449,11 @@ For details see `conf-mode'. Example: | |||
| 449 | 449 | ||
| 450 | ; Conf mode font-locks this right on Windows and with \\[conf-windows-mode] | 450 | ; Conf mode font-locks this right on Windows and with \\[conf-windows-mode] |
| 451 | 451 | ||
| 452 | \[ExtShellFolderViews] | 452 | [ExtShellFolderViews] |
| 453 | Default={5984FFE0-28D4-11CF-AE66-08002B2E1262} | 453 | Default={5984FFE0-28D4-11CF-AE66-08002B2E1262} |
| 454 | {5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262} | 454 | {5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262} |
| 455 | 455 | ||
| 456 | \[{5984FFE0-28D4-11CF-AE66-08002B2E1262}] | 456 | [{5984FFE0-28D4-11CF-AE66-08002B2E1262}] |
| 457 | PersistMoniker=file://Folder.htt" | 457 | PersistMoniker=file://Folder.htt" |
| 458 | (conf-mode-initialize ";")) | 458 | (conf-mode-initialize ";")) |
| 459 | 459 | ||
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 639456dc77e..aa5469e3465 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el | |||
| @@ -265,7 +265,7 @@ | |||
| 265 | "\\(?:\\(:" (regexp-opt (append css-pseudo-class-ids | 265 | "\\(?:\\(:" (regexp-opt (append css-pseudo-class-ids |
| 266 | css-pseudo-element-ids) t) | 266 | css-pseudo-element-ids) t) |
| 267 | "\\|\\::" (regexp-opt css-pseudo-element-ids t) "\\)" | 267 | "\\|\\::" (regexp-opt css-pseudo-element-ids t) "\\)" |
| 268 | "\\(?:([^\)]+)\\)?" | 268 | "\\(?:([^)]+)\\)?" |
| 269 | (if (not sassy) | 269 | (if (not sassy) |
| 270 | "[^:{}\n]*" | 270 | "[^:{}\n]*" |
| 271 | (concat "[^:{}\n#]*\\(?:" scss--hash-re "[^:{}\n#]*\\)*")) | 271 | (concat "[^:{}\n#]*\\(?:" scss--hash-re "[^:{}\n#]*\\)*")) |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 87c2a95da49..fe27f0f158c 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -699,8 +699,8 @@ re-start Emacs." | |||
| 699 | 699 | ||
| 700 | Each element of this list is also a list: | 700 | Each element of this list is also a list: |
| 701 | 701 | ||
| 702 | \(DICTIONARY-NAME CASECHARS NOT-CASECHARS OTHERCHARS MANY-OTHERCHARS-P | 702 | (DICTIONARY-NAME CASECHARS NOT-CASECHARS OTHERCHARS MANY-OTHERCHARS-P |
| 703 | ISPELL-ARGS EXTENDED-CHARACTER-MODE CHARACTER-SET\) | 703 | ISPELL-ARGS EXTENDED-CHARACTER-MODE CHARACTER-SET) |
| 704 | 704 | ||
| 705 | DICTIONARY-NAME is a possible string value of variable `ispell-dictionary', | 705 | DICTIONARY-NAME is a possible string value of variable `ispell-dictionary', |
| 706 | nil means the default dictionary. | 706 | nil means the default dictionary. |
| @@ -747,7 +747,7 @@ when the language uses non-ASCII characters. | |||
| 747 | Note that with \"ispell\" as the speller, the CASECHARS and | 747 | Note that with \"ispell\" as the speller, the CASECHARS and |
| 748 | OTHERCHARS slots of the alist should contain the same character | 748 | OTHERCHARS slots of the alist should contain the same character |
| 749 | set as casechars and otherchars in the LANGUAGE.aff file \(e.g., | 749 | set as casechars and otherchars in the LANGUAGE.aff file \(e.g., |
| 750 | english.aff\). Aspell and Hunspell don't have this limitation.") | 750 | english.aff). Aspell and Hunspell don't have this limitation.") |
| 751 | 751 | ||
| 752 | (defvar ispell-really-aspell nil | 752 | (defvar ispell-really-aspell nil |
| 753 | "Non-nil if we can use Aspell extensions.") | 753 | "Non-nil if we can use Aspell extensions.") |
| @@ -2024,7 +2024,7 @@ in a window allowing you to choose one. | |||
| 2024 | 2024 | ||
| 2025 | If optional argument FOLLOWING is non-nil or if `ispell-following-word' | 2025 | If optional argument FOLLOWING is non-nil or if `ispell-following-word' |
| 2026 | is non-nil when called interactively, then the following word | 2026 | is non-nil when called interactively, then the following word |
| 2027 | \(rather than preceding\) is checked when the cursor is not over a word. | 2027 | \(rather than preceding) is checked when the cursor is not over a word. |
| 2028 | When the optional argument QUIETLY is non-nil or `ispell-quietly' is non-nil | 2028 | When the optional argument QUIETLY is non-nil or `ispell-quietly' is non-nil |
| 2029 | when called interactively, non-corrective messages are suppressed. | 2029 | when called interactively, non-corrective messages are suppressed. |
| 2030 | 2030 | ||
| @@ -2044,7 +2044,7 @@ Return values: | |||
| 2044 | nil word is correct or spelling is accepted. | 2044 | nil word is correct or spelling is accepted. |
| 2045 | 0 word is inserted into buffer-local definitions. | 2045 | 0 word is inserted into buffer-local definitions. |
| 2046 | \"word\" word corrected from word list. | 2046 | \"word\" word corrected from word list. |
| 2047 | \(\"word\" arg\) word is hand entered. | 2047 | \(\"word\" arg) word is hand entered. |
| 2048 | quit spell session exited." | 2048 | quit spell session exited." |
| 2049 | (interactive (list ispell-following-word ispell-quietly current-prefix-arg t)) | 2049 | (interactive (list ispell-following-word ispell-quietly current-prefix-arg t)) |
| 2050 | (cond | 2050 | (cond |
| @@ -2162,7 +2162,7 @@ quit spell session exited." | |||
| 2162 | "Return the word for spell-checking according to ispell syntax. | 2162 | "Return the word for spell-checking according to ispell syntax. |
| 2163 | If optional argument FOLLOWING is non-nil or if `ispell-following-word' | 2163 | If optional argument FOLLOWING is non-nil or if `ispell-following-word' |
| 2164 | is non-nil when called interactively, then the following word | 2164 | is non-nil when called interactively, then the following word |
| 2165 | \(rather than preceding\) is checked when the cursor is not over a word. | 2165 | \(rather than preceding) is checked when the cursor is not over a word. |
| 2166 | Optional second argument contains otherchars that can be included in word | 2166 | Optional second argument contains otherchars that can be included in word |
| 2167 | many times (see the doc string of `ispell-dictionary-alist' for details | 2167 | many times (see the doc string of `ispell-dictionary-alist' for details |
| 2168 | about otherchars). | 2168 | about otherchars). |
diff --git a/lisp/textmodes/makeinfo.el b/lisp/textmodes/makeinfo.el index b9b72ea644f..0ca4cbefe93 100644 --- a/lisp/textmodes/makeinfo.el +++ b/lisp/textmodes/makeinfo.el | |||
| @@ -228,7 +228,7 @@ nonsensical results." | |||
| 228 | "Make Info file from current buffer. | 228 | "Make Info file from current buffer. |
| 229 | 229 | ||
| 230 | Use the \\[next-error] command to move to the next error | 230 | Use the \\[next-error] command to move to the next error |
| 231 | \(if there are errors\)." | 231 | \(if there are errors)." |
| 232 | 232 | ||
| 233 | (interactive) | 233 | (interactive) |
| 234 | (cond ((null buffer-file-name) | 234 | (cond ((null buffer-file-name) |
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el index 57134e06c19..99962c75897 100644 --- a/lisp/textmodes/page-ext.el +++ b/lisp/textmodes/page-ext.el | |||
| @@ -446,7 +446,7 @@ REVERSE (non-nil means reverse order), BEG and END (region to sort)." | |||
| 446 | 446 | ||
| 447 | (defun sort-pages-buffer (&optional reverse) | 447 | (defun sort-pages-buffer (&optional reverse) |
| 448 | "Sort pages alphabetically in buffer. Prefix arg means reverse order. | 448 | "Sort pages alphabetically in buffer. Prefix arg means reverse order. |
| 449 | \(Non-nil arg if not interactive.\)" | 449 | \(Non-nil arg if not interactive.)" |
| 450 | 450 | ||
| 451 | (interactive "P") | 451 | (interactive "P") |
| 452 | (or reverse (setq reverse nil)) | 452 | (or reverse (setq reverse nil)) |
| @@ -461,7 +461,7 @@ REVERSE (non-nil means reverse order), BEG and END (region to sort)." | |||
| 461 | (defvar pages-directory-previous-regexp nil | 461 | (defvar pages-directory-previous-regexp nil |
| 462 | "Value of previous regexp used by `pages-directory'. | 462 | "Value of previous regexp used by `pages-directory'. |
| 463 | \(This regular expression may be used to select only those pages that | 463 | \(This regular expression may be used to select only those pages that |
| 464 | contain matches to the regexp.\)") | 464 | contain matches to the regexp.)") |
| 465 | 465 | ||
| 466 | (defvar pages-buffer nil | 466 | (defvar pages-buffer nil |
| 467 | "The buffer for which the pages-directory function creates the directory.") | 467 | "The buffer for which the pages-directory function creates the directory.") |
diff --git a/lisp/textmodes/refer.el b/lisp/textmodes/refer.el index 8d824ebad35..22dc7dc9165 100644 --- a/lisp/textmodes/refer.el +++ b/lisp/textmodes/refer.el | |||
| @@ -229,7 +229,7 @@ found on the last `refer-find-entry' or `refer-find-next-entry'." | |||
| 229 | (sit-for 1) | 229 | (sit-for 1) |
| 230 | (setq files (cdr files)))))) | 230 | (setq files (cdr files)))))) |
| 231 | (ding) | 231 | (ding) |
| 232 | (message "Keywords \"%s\" not found in any \.bib file" keywords)) | 232 | (message "Keywords \"%s\" not found in any .bib file" keywords)) |
| 233 | (select-window old-window))) | 233 | (select-window old-window))) |
| 234 | 234 | ||
| 235 | (defun refer-find-entry-in-file (keywords-list file &optional old-pos) | 235 | (defun refer-find-entry-in-file (keywords-list file &optional old-pos) |
| @@ -351,21 +351,21 @@ found on the last `refer-find-entry' or `refer-find-next-entry'." | |||
| 351 | (if (progn | 351 | (if (progn |
| 352 | (goto-char (point-min)) | 352 | (goto-char (point-min)) |
| 353 | (re-search-forward (concat refer-bib-files-regexp | 353 | (re-search-forward (concat refer-bib-files-regexp |
| 354 | "\\s-*\{") nil t)) | 354 | "\\s-*{") nil t)) |
| 355 | (let ((files (list (buffer-substring | 355 | (let ((files (list (buffer-substring |
| 356 | (point) | 356 | (point) |
| 357 | (progn | 357 | (progn |
| 358 | (re-search-forward "[,\}]" | 358 | (re-search-forward "[,}]" |
| 359 | nil t) | 359 | nil t) |
| 360 | (backward-char 1) | 360 | (backward-char 1) |
| 361 | (point)))))) | 361 | (point)))))) |
| 362 | (while (not (looking-at "\}")) | 362 | (while (not (looking-at "}")) |
| 363 | (setq files (append files | 363 | (setq files (append files |
| 364 | (list (buffer-substring | 364 | (list (buffer-substring |
| 365 | (progn (forward-char 1) | 365 | (progn (forward-char 1) |
| 366 | (point)) | 366 | (point)) |
| 367 | (progn (re-search-forward | 367 | (progn (re-search-forward |
| 368 | "[,\}]" nil t) | 368 | "[,}]" nil t) |
| 369 | (backward-char 1) | 369 | (backward-char 1) |
| 370 | (point))))))) | 370 | (point))))))) |
| 371 | files) | 371 | files) |
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el index 17e8cfdc83c..173c8a8d11d 100644 --- a/lisp/textmodes/reftex-cite.el +++ b/lisp/textmodes/reftex-cite.el | |||
| @@ -385,7 +385,7 @@ The environment should be located in FILES." | |||
| 385 | (buffer-substring-no-properties | 385 | (buffer-substring-no-properties |
| 386 | start end) | 386 | start end) |
| 387 | "[ \t\n\r]*\\\\bibitem[ \t]*\ | 387 | "[ \t\n\r]*\\\\bibitem[ \t]*\ |
| 388 | \\(\\[[^]]*]\\)*\[ \t]*")))))) | 388 | \\(\\[[^]]*]\\)*[ \t]*")))))) |
| 389 | (goto-char end)))))) | 389 | (goto-char end)))))) |
| 390 | (unless entries | 390 | (unless entries |
| 391 | (error "No bibitems found")) | 391 | (error "No bibitems found")) |
| @@ -477,7 +477,7 @@ If RAW is non-nil, keep double quotes/curly braces delimiting fields." | |||
| 477 | (goto-char (point-min)) | 477 | (goto-char (point-min)) |
| 478 | 478 | ||
| 479 | (if (re-search-forward "@\\(\\(?:\\w\\|\\s_\\)+\\)[ \t\n\r]*\ | 479 | (if (re-search-forward "@\\(\\(?:\\w\\|\\s_\\)+\\)[ \t\n\r]*\ |
| 480 | \[{(][ \t\n\r]*\\([^ \t\n\r,]+\\)" nil t) | 480 | [{(][ \t\n\r]*\\([^ \t\n\r,]+\\)" nil t) |
| 481 | (setq alist | 481 | (setq alist |
| 482 | (list | 482 | (list |
| 483 | (cons "&type" (downcase (reftex-match-string 1))) | 483 | (cons "&type" (downcase (reftex-match-string 1))) |
| @@ -1195,7 +1195,7 @@ created files in the variables `reftex-create-bibtex-header' or | |||
| 1195 | (widen) | 1195 | (widen) |
| 1196 | (goto-char (point-min)) | 1196 | (goto-char (point-min)) |
| 1197 | (while (re-search-forward "^[ \t]*@\\(?:\\w\\|\\s_\\)+[ \t\n\r]*\ | 1197 | (while (re-search-forward "^[ \t]*@\\(?:\\w\\|\\s_\\)+[ \t\n\r]*\ |
| 1198 | \[{(][ \t\n\r]*\\([^ \t\n\r,]+\\)" nil t) | 1198 | [{(][ \t\n\r]*\\([^ \t\n\r,]+\\)" nil t) |
| 1199 | (setq key (match-string 1) | 1199 | (setq key (match-string 1) |
| 1200 | beg (match-beginning 0) | 1200 | beg (match-beginning 0) |
| 1201 | end (progn | 1201 | end (progn |
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 7dc91844583..0ff1d72451e 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -2354,7 +2354,7 @@ what in fact did happen. | |||
| 2354 | Check if the bug is reproducible with an up-to-date version of | 2354 | Check if the bug is reproducible with an up-to-date version of |
| 2355 | RefTeX available from http://www.gnu.org/software/auctex/. | 2355 | RefTeX available from http://www.gnu.org/software/auctex/. |
| 2356 | 2356 | ||
| 2357 | If the bug is triggered by a specific \(La\)TeX file, you should try | 2357 | If the bug is triggered by a specific \(La)TeX file, you should try |
| 2358 | to produce a minimal sample file showing the problem and include it | 2358 | to produce a minimal sample file showing the problem and include it |
| 2359 | in your report. | 2359 | in your report. |
| 2360 | 2360 | ||
| @@ -2446,7 +2446,7 @@ of ENTRY-LIST is a list of cons cells (\"MACRONAME\" . LEVEL). See | |||
| 2446 | 2446 | ||
| 2447 | ;;;*** | 2447 | ;;;*** |
| 2448 | 2448 | ||
| 2449 | ;;;### (autoloads nil "reftex-cite" "reftex-cite.el" "83811ccf3471820f0ad0dc005ffc88d5") | 2449 | ;;;### (autoloads nil "reftex-cite" "reftex-cite.el" "43a3f05c024aee5b7708420f74266933") |
| 2450 | ;;; Generated autoloads from reftex-cite.el | 2450 | ;;; Generated autoloads from reftex-cite.el |
| 2451 | 2451 | ||
| 2452 | (autoload 'reftex-default-bibliography "reftex-cite" "\ | 2452 | (autoload 'reftex-default-bibliography "reftex-cite" "\ |
| @@ -2774,7 +2774,7 @@ Here are all local bindings. | |||
| 2774 | 2774 | ||
| 2775 | ;;;*** | 2775 | ;;;*** |
| 2776 | 2776 | ||
| 2777 | ;;;### (autoloads nil "reftex-parse" "reftex-parse.el" "c327a848a6d168412b1a9be9f2e3dce8") | 2777 | ;;;### (autoloads nil "reftex-parse" "reftex-parse.el" "7bfdcb2f040dbe9a08d2c38c005c8f21") |
| 2778 | ;;; Generated autoloads from reftex-parse.el | 2778 | ;;; Generated autoloads from reftex-parse.el |
| 2779 | 2779 | ||
| 2780 | (autoload 'reftex-parse-one "reftex-parse" "\ | 2780 | (autoload 'reftex-parse-one "reftex-parse" "\ |
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 9625ec2c7cc..e6bfe5f1662 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -442,7 +442,7 @@ in parentheses follows the development revision and the time stamp.") | |||
| 442 | (opt-tag (:shy optsta-tag optnam-tag optarg-tag "?")) ; A complete option. | 442 | (opt-tag (:shy optsta-tag optnam-tag optarg-tag "?")) ; A complete option. |
| 443 | 443 | ||
| 444 | ;; Footnotes and citations (`fnc') | 444 | ;; Footnotes and citations (`fnc') |
| 445 | (fncnam-prt "[^\]\n]") ; Part of a footnote or citation name. | 445 | (fncnam-prt "[^]\n]") ; Part of a footnote or citation name. |
| 446 | (fncnam-tag fncnam-prt "+") ; A footnote or citation name. | 446 | (fncnam-tag fncnam-prt "+") ; A footnote or citation name. |
| 447 | (fnc-tag "\\[" fncnam-tag "]") ; A complete footnote or citation tag. | 447 | (fnc-tag "\\[" fncnam-tag "]") ; A complete footnote or citation tag. |
| 448 | (fncdef-tag-2 (:grp exm-sta) | 448 | (fncdef-tag-2 (:grp exm-sta) |
| @@ -512,7 +512,7 @@ in parentheses follows the development revision and the time stamp.") | |||
| 512 | ; colon tag. | 512 | ; colon tag. |
| 513 | 513 | ||
| 514 | ;; Comments (`cmt') | 514 | ;; Comments (`cmt') |
| 515 | (cmt-sta-1 (:grp exm-sta) "[^\[|_\n]" | 515 | (cmt-sta-1 (:grp exm-sta) "[^[|_\n]" |
| 516 | (:alt "[^:\n]" (:seq ":" (:alt "[^:\n]" "$"))) | 516 | (:alt "[^:\n]" (:seq ":" (:alt "[^:\n]" "$"))) |
| 517 | "*$") ; Start of a comment block; first group is explicit markup | 517 | "*$") ; Start of a comment block; first group is explicit markup |
| 518 | ; start. | 518 | ; start. |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index cb65e5f1073..55a1e6d26db 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -525,7 +525,7 @@ Do \\[describe-key] on the following bindings to discover what they do. | |||
| 525 | ;; This is desirable because SGML discards a newline that appears | 525 | ;; This is desirable because SGML discards a newline that appears |
| 526 | ;; immediately after a start tag or immediately before an end tag. | 526 | ;; immediately after a start tag or immediately before an end tag. |
| 527 | (setq-local paragraph-start (concat "[ \t]*$\\|\ | 527 | (setq-local paragraph-start (concat "[ \t]*$\\|\ |
| 528 | \[ \t]*</?\\(" sgml-name-re sgml-attrs-re "\\)?>")) | 528 | [ \t]*</?\\(" sgml-name-re sgml-attrs-re "\\)?>")) |
| 529 | (setq-local paragraph-separate (concat paragraph-start "$")) | 529 | (setq-local paragraph-separate (concat paragraph-start "$")) |
| 530 | (setq-local adaptive-fill-regexp "[ \t]*") | 530 | (setq-local adaptive-fill-regexp "[ \t]*") |
| 531 | (add-hook 'fill-nobreak-predicate 'sgml-fill-nobreak nil t) | 531 | (add-hook 'fill-nobreak-predicate 'sgml-fill-nobreak nil t) |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 51cda80c5bd..0a4e070d4b5 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -135,8 +135,8 @@ If nil, TeX runs with no options. See the documentation of `tex-command'." | |||
| 135 | "TeX commands to use when starting TeX. | 135 | "TeX commands to use when starting TeX. |
| 136 | They are shell-quoted and precede the input file name, with a separating space. | 136 | They are shell-quoted and precede the input file name, with a separating space. |
| 137 | If nil, no commands are used. See the documentation of `tex-command'." | 137 | If nil, no commands are used. See the documentation of `tex-command'." |
| 138 | :type '(radio (const :tag "Interactive \(nil\)" nil) | 138 | :type '(radio (const :tag "Interactive (nil)" nil) |
| 139 | (const :tag "Nonstop \(\"\\nonstopmode\\input\"\)" | 139 | (const :tag "Nonstop (\"\\nonstopmode\\input\")" |
| 140 | "\\nonstopmode\\input") | 140 | "\\nonstopmode\\input") |
| 141 | (string :tag "String at your choice")) | 141 | (string :tag "String at your choice")) |
| 142 | :group 'tex-run | 142 | :group 'tex-run |
| @@ -266,8 +266,8 @@ tex shell terminates.") | |||
| 266 | 266 | ||
| 267 | (defvar tex-command "tex" | 267 | (defvar tex-command "tex" |
| 268 | "Command to run TeX. | 268 | "Command to run TeX. |
| 269 | If this string contains an asterisk \(`*'\), that is replaced by the file name; | 269 | If this string contains an asterisk \(`*'), that is replaced by the file name; |
| 270 | otherwise the value of `tex-start-options', the \(shell-quoted\) | 270 | otherwise the value of `tex-start-options', the \(shell-quoted) |
| 271 | value of `tex-start-commands', and the file name are added at the end | 271 | value of `tex-start-commands', and the file name are added at the end |
| 272 | with blanks as separators. | 272 | with blanks as separators. |
| 273 | 273 | ||
| @@ -387,7 +387,7 @@ An alternative value is \" . \", if you use a font with a narrow period." | |||
| 387 | (goto-char (point-min)) | 387 | (goto-char (point-min)) |
| 388 | (while (search-forward-regexp | 388 | (while (search-forward-regexp |
| 389 | "\\\\\\(include\\|input\\|verbatiminput\\|bibliography\\)\ | 389 | "\\\\\\(include\\|input\\|verbatiminput\\|bibliography\\)\ |
| 390 | \[ \t]*{\\([^}\n]+\\)}" | 390 | [ \t]*{\\([^}\n]+\\)}" |
| 391 | nil t) | 391 | nil t) |
| 392 | (push (cons (concat "<<" (buffer-substring-no-properties | 392 | (push (cons (concat "<<" (buffer-substring-no-properties |
| 393 | (match-beginning 2) | 393 | (match-beginning 2) |
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 37f10a8e871..500c1e38394 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -1043,7 +1043,7 @@ Leave point after argument." | |||
| 1043 | (setq texinfo-command-end (point))) | 1043 | (setq texinfo-command-end (point))) |
| 1044 | (t | 1044 | (t |
| 1045 | (error | 1045 | (error |
| 1046 | "Invalid `texinfo-optional-braces-discard' format \(need braces?\)"))) | 1046 | "Invalid `texinfo-optional-braces-discard' format (need braces?)"))) |
| 1047 | (delete-region texinfo-command-start texinfo-command-end))) | 1047 | (delete-region texinfo-command-start texinfo-command-end))) |
| 1048 | 1048 | ||
| 1049 | (defun texinfo-format-parse-line-args () | 1049 | (defun texinfo-format-parse-line-args () |
| @@ -2336,7 +2336,7 @@ Use only the FILENAME arg; for Info, ignore the other arguments to @image." | |||
| 2336 | ;; Write a `@definfoenclose' command on a line and follow it with three | 2336 | ;; Write a `@definfoenclose' command on a line and follow it with three |
| 2337 | ;; arguments separated by commas (commas are used as separators in an | 2337 | ;; arguments separated by commas (commas are used as separators in an |
| 2338 | ;; `@node' line in the same way). The first argument to | 2338 | ;; `@node' line in the same way). The first argument to |
| 2339 | ;; `@definfoenclose' is the @-command name \(without the `@'\); the | 2339 | ;; `@definfoenclose' is the @-command name (without the `@'); the |
| 2340 | ;; second argument is the Info start delimiter string; and the third | 2340 | ;; second argument is the Info start delimiter string; and the third |
| 2341 | ;; argument is the Info end delimiter string. The latter two arguments | 2341 | ;; argument is the Info end delimiter string. The latter two arguments |
| 2342 | ;; enclose the highlighted text in the Info file. A delimiter string | 2342 | ;; enclose the highlighted text in the Info file. A delimiter string |
| @@ -2491,8 +2491,8 @@ surrounded by in angle brackets." | |||
| 2491 | Enclose the verbatim text, including the delimiters, in braces. Print | 2491 | Enclose the verbatim text, including the delimiters, in braces. Print |
| 2492 | text exactly as written (but not the delimiters) in a fixed-width. | 2492 | text exactly as written (but not the delimiters) in a fixed-width. |
| 2493 | 2493 | ||
| 2494 | For example, @verb\{|@|\} results in @ and | 2494 | For example, @verb{|@|} results in @ and |
| 2495 | @verb\{+@\\='e?\\=`!\\=`+} results in @\\='e?\\=`!\\=`." | 2495 | @verb{+@\\='e?\\=`!\\=`+} results in @\\='e?\\=`!\\=`." |
| 2496 | 2496 | ||
| 2497 | (let ((delimiter (buffer-substring-no-properties | 2497 | (let ((delimiter (buffer-substring-no-properties |
| 2498 | (1+ texinfo-command-end) (+ 2 texinfo-command-end)))) | 2498 | (1+ texinfo-command-end) (+ 2 texinfo-command-end)))) |
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 2c6d5b3827c..57218177d7b 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -86,7 +86,7 @@ command to gain use of `next-error'." | |||
| 86 | "Make Info file from current buffer. | 86 | "Make Info file from current buffer. |
| 87 | 87 | ||
| 88 | Use the \\[next-error] command to move to the next error | 88 | Use the \\[next-error] command to move to the next error |
| 89 | \(if there are errors\)." | 89 | \(if there are errors)." |
| 90 | t nil) | 90 | t nil) |
| 91 | 91 | ||
| 92 | (autoload 'kill-compilation | 92 | (autoload 'kill-compilation |
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el index 0508426619f..321967a3721 100644 --- a/lisp/textmodes/texnfo-upd.el +++ b/lisp/textmodes/texnfo-upd.el | |||
| @@ -694,8 +694,8 @@ section titles are often too short to explain a node well. | |||
| 694 | 694 | ||
| 695 | MENU-LIST has form: | 695 | MENU-LIST has form: |
| 696 | 696 | ||
| 697 | \(\(\"node-name1\" . \"description\"\) | 697 | ((\"node-name1\" . \"description\") |
| 698 | \(\"node-name2\" . \"description\"\) ... \) | 698 | (\"node-name2\" . \"description\") ... ) |
| 699 | 699 | ||
| 700 | However, the description field might be nil. | 700 | However, the description field might be nil. |
| 701 | 701 | ||
| @@ -1002,9 +1002,9 @@ following menu and the title of the node preceding that menu. | |||
| 1002 | 1002 | ||
| 1003 | The master menu list has this form: | 1003 | The master menu list has this form: |
| 1004 | 1004 | ||
| 1005 | \(\(\(... \"entry-1-2\" \"entry-1\"\) \"title-1\"\) | 1005 | (((... \"entry-1-2\" \"entry-1\") \"title-1\") |
| 1006 | \(\(... \"entry-2-2\" \"entry-2-1\"\) \"title-2\"\) | 1006 | ((... \"entry-2-2\" \"entry-2-1\") \"title-2\") |
| 1007 | ...\) | 1007 | ...) |
| 1008 | 1008 | ||
| 1009 | However, there does not need to be a title field." | 1009 | However, there does not need to be a title field." |
| 1010 | 1010 | ||
| @@ -1018,7 +1018,7 @@ However, there does not need to be a title field." | |||
| 1018 | "Format and insert the master menu in the current buffer." | 1018 | "Format and insert the master menu in the current buffer." |
| 1019 | (goto-char (point-min)) | 1019 | (goto-char (point-min)) |
| 1020 | ;; Insert a master menu only after `Top' node and before next node | 1020 | ;; Insert a master menu only after `Top' node and before next node |
| 1021 | ;; \(or include file if there is no next node\). | 1021 | ;; (or include file if there is no next node). |
| 1022 | (unless (re-search-forward "^@node [ \t]*top[ \t]*\\(,\\|$\\)" nil t) | 1022 | (unless (re-search-forward "^@node [ \t]*top[ \t]*\\(,\\|$\\)" nil t) |
| 1023 | (error "This buffer needs a Top node")) | 1023 | (error "This buffer needs a Top node")) |
| 1024 | (let ((first-chapter | 1024 | (let ((first-chapter |
| @@ -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) |
| @@ -1850,8 +1850,8 @@ chapters." | |||
| 1850 | 1850 | ||
| 1851 | ;; The menu-list has the form: | 1851 | ;; The menu-list has the form: |
| 1852 | ;; | 1852 | ;; |
| 1853 | ;; \(\(\"node-name1\" . \"title1\"\) | 1853 | ;; ((\"node-name1\" . \"title1\") |
| 1854 | ;; \(\"node-name2\" . \"title2\"\) ... \) | 1854 | ;; (\"node-name2\" . \"title2\") ... ) |
| 1855 | ;; | 1855 | ;; |
| 1856 | ;; However, there does not need to be a title field and this function | 1856 | ;; However, there does not need to be a title field and this function |
| 1857 | ;; does not fill it; however a comment tells you how to do so. | 1857 | ;; does not fill it; however a comment tells you how to do so. |