diff options
| author | Stefan Kangas | 2021-09-13 06:04:32 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2021-09-13 06:44:52 +0200 |
| commit | f02624b34201aae3d69287e5ae86d466e5c4a6b3 (patch) | |
| tree | aef0b6763b5052cf43157f7af484085758cefb58 | |
| parent | 2110973351f01fb5cdf90b705acb58354b608050 (diff) | |
| download | emacs-f02624b34201aae3d69287e5ae86d466e5c4a6b3.tar.gz emacs-f02624b34201aae3d69287e5ae86d466e5c4a6b3.zip | |
; Minor doc fixes found by checkdoc
29 files changed, 86 insertions, 96 deletions
diff --git a/lisp/dnd.el b/lisp/dnd.el index e641b2843a9..44316154b0f 100644 --- a/lisp/dnd.el +++ b/lisp/dnd.el | |||
| @@ -77,7 +77,7 @@ and is the default except for MS-Windows." | |||
| 77 | 77 | ||
| 78 | 78 | ||
| 79 | (defcustom dnd-open-file-other-window nil | 79 | (defcustom dnd-open-file-other-window nil |
| 80 | "If non-nil, always use find-file-other-window to open dropped files." | 80 | "If non-nil, always use `find-file-other-window' to open dropped files." |
| 81 | :version "22.1" | 81 | :version "22.1" |
| 82 | :type 'boolean) | 82 | :type 'boolean) |
| 83 | 83 | ||
diff --git a/lisp/files.el b/lisp/files.el index 7e4bdab5075..67c4628468b 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1108,7 +1108,7 @@ customize the variable `user-emacs-directory-warning'." | |||
| 1108 | (defun exec-path () | 1108 | (defun exec-path () |
| 1109 | "Return list of directories to search programs to run in remote subprocesses. | 1109 | "Return list of directories to search programs to run in remote subprocesses. |
| 1110 | The remote host is identified by `default-directory'. For remote | 1110 | The remote host is identified by `default-directory'. For remote |
| 1111 | hosts that do not support subprocesses, this returns `nil'. | 1111 | hosts that do not support subprocesses, this returns nil. |
| 1112 | If `default-directory' is a local directory, this function returns | 1112 | If `default-directory' is a local directory, this function returns |
| 1113 | the value of the variable `exec-path'." | 1113 | the value of the variable `exec-path'." |
| 1114 | (let ((handler (find-file-name-handler default-directory 'exec-path))) | 1114 | (let ((handler (find-file-name-handler default-directory 'exec-path))) |
diff --git a/lisp/progmodes/bat-mode.el b/lisp/progmodes/bat-mode.el index 7ba8a69775e..2cc8dfce668 100644 --- a/lisp/progmodes/bat-mode.el +++ b/lisp/progmodes/bat-mode.el | |||
| @@ -175,7 +175,7 @@ | |||
| 175 | 175 | ||
| 176 | ;;;###autoload | 176 | ;;;###autoload |
| 177 | (define-derived-mode bat-mode prog-mode "Bat" | 177 | (define-derived-mode bat-mode prog-mode "Bat" |
| 178 | "Major mode for editing DOS/Windows batch files.\n | 178 | "Major mode for editing DOS/Windows batch files. |
| 179 | Start a new script from `bat-template'. Read help pages for DOS commands | 179 | Start a new script from `bat-template'. Read help pages for DOS commands |
| 180 | with `bat-cmd-help'. Navigate between sections using `imenu'. | 180 | with `bat-cmd-help'. Navigate between sections using `imenu'. |
| 181 | Run script using `bat-run' and `bat-run-args'.\n | 181 | Run script using `bat-run' and `bat-run-args'.\n |
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index a596b27cd08..54d4b141656 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el | |||
| @@ -651,7 +651,7 @@ guesswork is based on these variables: | |||
| 651 | "Enable `bug-reference-mode' and force auto-setup. | 651 | "Enable `bug-reference-mode' and force auto-setup. |
| 652 | Enabling `bug-reference-mode' runs its auto-setup only if | 652 | Enabling `bug-reference-mode' runs its auto-setup only if |
| 653 | `bug-reference-bug-regexp' and `bug-reference-url-format' are not | 653 | `bug-reference-bug-regexp' and `bug-reference-url-format' are not |
| 654 | set already. This function sets the latter to `nil' | 654 | set already. This function sets the latter to nil |
| 655 | buffer-locally, so that the auto-setup will always run. | 655 | buffer-locally, so that the auto-setup will always run. |
| 656 | 656 | ||
| 657 | This is mostly intended for MUA modes like `rmail-mode' where the | 657 | This is mostly intended for MUA modes like `rmail-mode' where the |
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el index 4649e506541..53914616cdc 100644 --- a/lisp/progmodes/cfengine.el +++ b/lisp/progmodes/cfengine.el | |||
| @@ -47,8 +47,8 @@ | |||
| 47 | ;; (add-hook 'cfengine3-mode-hook 'eldoc-mode) | 47 | ;; (add-hook 'cfengine3-mode-hook 'eldoc-mode) |
| 48 | 48 | ||
| 49 | ;; You may also find the command `cfengine3-reformat-json-string' | 49 | ;; You may also find the command `cfengine3-reformat-json-string' |
| 50 | ;; useful, just bind it to a key you prefer. It will take the current | 50 | ;; useful, just bind it to a key you prefer. It will take the current |
| 51 | ;; string and reformat it as JSON. So if you're editing JSON inside | 51 | ;; string and reformat it as JSON. So if you're editing JSON inside |
| 52 | ;; the policy, it's a quick way to make it more legible without | 52 | ;; the policy, it's a quick way to make it more legible without |
| 53 | ;; manually reindenting it. For instance: | 53 | ;; manually reindenting it. For instance: |
| 54 | 54 | ||
| @@ -140,8 +140,7 @@ bundle agent rcfiles | |||
| 140 | \"/tmp/netrc\" | 140 | \"/tmp/netrc\" |
| 141 | comment => \"my netrc\", | 141 | comment => \"my netrc\", |
| 142 | perms => mog(\"600\", \"tzz\", \"tzz\"); | 142 | perms => mog(\"600\", \"tzz\", \"tzz\"); |
| 143 | } | 143 | }" |
| 144 | " | ||
| 145 | :version "24.4" | 144 | :version "24.4" |
| 146 | :type '(list | 145 | :type '(list |
| 147 | (choice (const :tag "Anchor at beginning of promise" promise) | 146 | (choice (const :tag "Anchor at beginning of promise" promise) |
| @@ -1193,7 +1192,7 @@ Intended as the value of `indent-line-function'." | |||
| 1193 | ;; CATEGORY: [a-zA-Z_]+: | 1192 | ;; CATEGORY: [a-zA-Z_]+: |
| 1194 | 1193 | ||
| 1195 | (defun cfengine3--current-function () | 1194 | (defun cfengine3--current-function () |
| 1196 | "Look up current CFEngine 3 function" | 1195 | "Look up current CFEngine 3 function." |
| 1197 | (let* ((syntax (cfengine3-make-syntax-cache)) | 1196 | (let* ((syntax (cfengine3-make-syntax-cache)) |
| 1198 | (flist (assq 'functions syntax))) | 1197 | (flist (assq 'functions syntax))) |
| 1199 | (when flist | 1198 | (when flist |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index af7b8292b74..8d1486b6e68 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -86,7 +86,7 @@ This is bound before running `compilation-filter-hook'.") | |||
| 86 | "This is how compilers number the first column, usually 1 or 0. | 86 | "This is how compilers number the first column, usually 1 or 0. |
| 87 | If this is buffer-local in the destination buffer, Emacs obeys | 87 | If this is buffer-local in the destination buffer, Emacs obeys |
| 88 | that value, otherwise it uses the value in the *compilation* | 88 | that value, otherwise it uses the value in the *compilation* |
| 89 | buffer. This enables a major-mode to specify its own value.") | 89 | buffer. This enables a major mode to specify its own value.") |
| 90 | 90 | ||
| 91 | (defvar compilation-parse-errors-filename-function #'identity | 91 | (defvar compilation-parse-errors-filename-function #'identity |
| 92 | "Function to call to post-process filenames while parsing error messages. | 92 | "Function to call to post-process filenames while parsing error messages. |
| @@ -752,7 +752,7 @@ program and Emacs agree about the display width of the characters, | |||
| 752 | especially the TAB character. | 752 | especially the TAB character. |
| 753 | If this is buffer-local in the destination buffer, Emacs obeys | 753 | If this is buffer-local in the destination buffer, Emacs obeys |
| 754 | that value, otherwise it uses the value in the *compilation* | 754 | that value, otherwise it uses the value in the *compilation* |
| 755 | buffer. This enables a major-mode to specify its own value." | 755 | buffer. This enables a major mode to specify its own value." |
| 756 | :type 'boolean | 756 | :type 'boolean |
| 757 | :version "20.4") | 757 | :version "20.4") |
| 758 | 758 | ||
| @@ -2767,7 +2767,7 @@ Actual value is never used, only the text property.") | |||
| 2767 | (set-window-margins w (- (car (window-margins w)) 2)))) | 2767 | (set-window-margins w (- (car (window-margins w)) 2)))) |
| 2768 | 2768 | ||
| 2769 | (defun compilation--set-up-arrow-spec-in-margins () | 2769 | (defun compilation--set-up-arrow-spec-in-margins () |
| 2770 | "Set up compilation-arrow-overlay to display as an arrow in margins." | 2770 | "Set up `compilation-arrow-overlay' to display as an arrow in margins." |
| 2771 | (setq overlay-arrow-string "") | 2771 | (setq overlay-arrow-string "") |
| 2772 | (setq compilation-arrow-overlay | 2772 | (setq compilation-arrow-overlay |
| 2773 | (make-overlay overlay-arrow-position overlay-arrow-position)) | 2773 | (make-overlay overlay-arrow-position overlay-arrow-position)) |
| @@ -2780,7 +2780,7 @@ Actual value is never used, only the text property.") | |||
| 2780 | #'compilation--tear-down-arrow-spec-in-margins nil t)) | 2780 | #'compilation--tear-down-arrow-spec-in-margins nil t)) |
| 2781 | 2781 | ||
| 2782 | (defun compilation--tear-down-arrow-spec-in-margins () | 2782 | (defun compilation--tear-down-arrow-spec-in-margins () |
| 2783 | "Restore compilation-arrow-overlay to not using the margins, which are removed." | 2783 | "Restore `compilation-arrow-overlay' to not using the margins, which are removed." |
| 2784 | (when (overlayp compilation-arrow-overlay) | 2784 | (when (overlayp compilation-arrow-overlay) |
| 2785 | (overlay-put compilation-arrow-overlay 'before-string nil) | 2785 | (overlay-put compilation-arrow-overlay 'before-string nil) |
| 2786 | (delete-overlay compilation-arrow-overlay) | 2786 | (delete-overlay compilation-arrow-overlay) |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 165834cc20f..8e32c5a4b79 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -312,8 +312,7 @@ own abbrevs in cperl-mode, but do not want keywords to be | |||
| 312 | electric, you must redefine `cperl-mode-abbrev-table': do | 312 | electric, you must redefine `cperl-mode-abbrev-table': do |
| 313 | \\[edit-abbrevs], search for `cperl-mode-abbrev-table', and, in | 313 | \\[edit-abbrevs], search for `cperl-mode-abbrev-table', and, in |
| 314 | that paragraph, delete the words that appear at the ends of lines and | 314 | that paragraph, delete the words that appear at the ends of lines and |
| 315 | that begin with \"cperl-electric\". | 315 | that begin with \"cperl-electric\"." |
| 316 | " | ||
| 317 | :type '(choice (const null) boolean) | 316 | :type '(choice (const null) boolean) |
| 318 | :group 'cperl-affected-by-hairy) | 317 | :group 'cperl-affected-by-hairy) |
| 319 | 318 | ||
| @@ -767,8 +766,7 @@ line-breaks/spacing between elements of the construct. | |||
| 767 | 766 | ||
| 768 | 10) Uses a linear-time algorithm for indentation of regions. | 767 | 10) Uses a linear-time algorithm for indentation of regions. |
| 769 | 768 | ||
| 770 | 11) Syntax-highlight, indentation, sexp-recognition inside regular expressions. | 769 | 11) Syntax-highlight, indentation, sexp-recognition inside regular expressions.") |
| 771 | ") | ||
| 772 | 770 | ||
| 773 | (defvar cperl-speed 'please-ignore-this-line | 771 | (defvar cperl-speed 'please-ignore-this-line |
| 774 | "This is an incomplete compendium of what is available in other parts | 772 | "This is an incomplete compendium of what is available in other parts |
| @@ -865,9 +863,7 @@ In regular expressions (including character classes): | |||
| 865 | backslashes of escape sequences | 863 | backslashes of escape sequences |
| 866 | `font-lock-variable-name-face' Interpolated constructs, embedded code, | 864 | `font-lock-variable-name-face' Interpolated constructs, embedded code, |
| 867 | POSIX classes (inside charclasses) | 865 | POSIX classes (inside charclasses) |
| 868 | `font-lock-comment-face' Embedded comments | 866 | `font-lock-comment-face' Embedded comments") |
| 869 | |||
| 870 | ") | ||
| 871 | 867 | ||
| 872 | 868 | ||
| 873 | 869 | ||
| @@ -1452,7 +1448,7 @@ the last)." | |||
| 1452 | 1448 | ||
| 1453 | (defvar cperl-outline-regexp | 1449 | (defvar cperl-outline-regexp |
| 1454 | (rx (sequence line-start (0+ blank) (eval cperl--imenu-entries-rx))) | 1450 | (rx (sequence line-start (0+ blank) (eval cperl--imenu-entries-rx))) |
| 1455 | "The regular expression used for outline-minor-mode") | 1451 | "The regular expression used for `outline-minor-mode'.") |
| 1456 | 1452 | ||
| 1457 | (defvar cperl-mode-syntax-table nil | 1453 | (defvar cperl-mode-syntax-table nil |
| 1458 | "Syntax table in use in CPerl mode buffers.") | 1454 | "Syntax table in use in CPerl mode buffers.") |
| @@ -4840,7 +4836,7 @@ recursive calls in starting lines of here-documents." | |||
| 4840 | ;; Moreover, one takes positive approach (looks for else,grep etc) | 4836 | ;; Moreover, one takes positive approach (looks for else,grep etc) |
| 4841 | ;; another negative (looks for bless,tr etc) | 4837 | ;; another negative (looks for bless,tr etc) |
| 4842 | (defun cperl-after-block-p (lim &optional pre-block) | 4838 | (defun cperl-after-block-p (lim &optional pre-block) |
| 4843 | "Return true if the preceding } (if PRE-BLOCK, following {) delimits a block. | 4839 | "Return non-nil if the preceding } (if PRE-BLOCK, following {) delimits a block. |
| 4844 | Would not look before LIM. Assumes that LIM is a good place to begin a | 4840 | Would not look before LIM. Assumes that LIM is a good place to begin a |
| 4845 | statement. The kind of block we treat here is one after which a new | 4841 | statement. The kind of block we treat here is one after which a new |
| 4846 | statement would start; thus the block in ${func()} does not count." | 4842 | statement would start; thus the block in ${func()} does not count." |
| @@ -4876,7 +4872,7 @@ statement would start; thus the block in ${func()} does not count." | |||
| 4876 | (error nil)))) | 4872 | (error nil)))) |
| 4877 | 4873 | ||
| 4878 | (defun cperl-after-expr-p (&optional lim chars test) | 4874 | (defun cperl-after-expr-p (&optional lim chars test) |
| 4879 | "Return true if the position is good for start of expression. | 4875 | "Return non-nil if the position is good for start of expression. |
| 4880 | TEST is the expression to evaluate at the found position. If absent, | 4876 | TEST is the expression to evaluate at the found position. If absent, |
| 4881 | CHARS is a string that contains good characters to have before us (however, | 4877 | CHARS is a string that contains good characters to have before us (however, |
| 4882 | `}' is treated \"smartly\" if it is not in the list)." | 4878 | `}' is treated \"smartly\" if it is not in the list)." |
| @@ -4972,7 +4968,7 @@ CHARS is a string that contains good characters to have before us (however, | |||
| 4972 | (skip-chars-forward " \t")) | 4968 | (skip-chars-forward " \t")) |
| 4973 | 4969 | ||
| 4974 | (defun cperl-after-block-and-statement-beg (lim) | 4970 | (defun cperl-after-block-and-statement-beg (lim) |
| 4975 | "Return true if the preceding ?} ends the statement." | 4971 | "Return non-nil if the preceding ?} ends the statement." |
| 4976 | ;; We assume that we are after ?\} | 4972 | ;; We assume that we are after ?\} |
| 4977 | (and | 4973 | (and |
| 4978 | (cperl-after-block-p lim) | 4974 | (cperl-after-block-p lim) |
| @@ -5620,7 +5616,7 @@ comment, or POD." | |||
| 5620 | (defvar cperl-font-lock-keywords nil | 5616 | (defvar cperl-font-lock-keywords nil |
| 5621 | "Additional expressions to highlight in Perl mode. Default set.") | 5617 | "Additional expressions to highlight in Perl mode. Default set.") |
| 5622 | (defvar cperl-font-lock-keywords-2 nil | 5618 | (defvar cperl-font-lock-keywords-2 nil |
| 5623 | "Additional expressions to highlight in Perl mode. Maximal set") | 5619 | "Additional expressions to highlight in Perl mode. Maximal set.") |
| 5624 | 5620 | ||
| 5625 | (defun cperl-load-font-lock-keywords () | 5621 | (defun cperl-load-font-lock-keywords () |
| 5626 | (or cperl-faces-init (cperl-init-faces)) | 5622 | (or cperl-faces-init (cperl-init-faces)) |
| @@ -5635,10 +5631,10 @@ comment, or POD." | |||
| 5635 | cperl-font-lock-keywords-2) | 5631 | cperl-font-lock-keywords-2) |
| 5636 | 5632 | ||
| 5637 | (defun cperl-font-lock-syntactic-face-function (state) | 5633 | (defun cperl-font-lock-syntactic-face-function (state) |
| 5638 | "Apply faces according to their syntax type. In CPerl mode, this | 5634 | "Apply faces according to their syntax type. |
| 5639 | is used for here-documents which have been marked as c-style | 5635 | In CPerl mode, this is used for here-documents which have been |
| 5640 | comments. For everything else, delegate to the default | 5636 | marked as c-style comments. For everything else, delegate to the |
| 5641 | function." | 5637 | default function." |
| 5642 | (cond | 5638 | (cond |
| 5643 | ;; A c-style comment is a HERE-document. Fontify if requested. | 5639 | ;; A c-style comment is a HERE-document. Fontify if requested. |
| 5644 | ((and (eq 2 (nth 7 state)) | 5640 | ((and (eq 2 (nth 7 state)) |
| @@ -6251,7 +6247,7 @@ side-effect of memorizing only. Examples in `cperl-style-examples'." | |||
| 6251 | (filename nodename &optional no-going-back strict-case)) | 6247 | (filename nodename &optional no-going-back strict-case)) |
| 6252 | 6248 | ||
| 6253 | (defun cperl-info-buffer (type) | 6249 | (defun cperl-info-buffer (type) |
| 6254 | ;; Returns buffer with documentation. Creates if missing. | 6250 | ;; Return buffer with documentation. Creates if missing. |
| 6255 | ;; If TYPE, this vars buffer. | 6251 | ;; If TYPE, this vars buffer. |
| 6256 | ;; Special care is taken to not stomp over an existing info buffer | 6252 | ;; Special care is taken to not stomp over an existing info buffer |
| 6257 | (let* ((bname (if type "*info-perl-var*" "*info-perl*")) | 6253 | (let* ((bname (if type "*info-perl-var*" "*info-perl*")) |
| @@ -6385,7 +6381,7 @@ Customized by setting variables `cperl-shrink-wrap-info-frame', | |||
| 6385 | (declare-function imenu-choose-buffer-index "imenu" (&optional prompt alist)) | 6381 | (declare-function imenu-choose-buffer-index "imenu" (&optional prompt alist)) |
| 6386 | 6382 | ||
| 6387 | (defun cperl-imenu-on-info () | 6383 | (defun cperl-imenu-on-info () |
| 6388 | "Shows imenu for Perl Info Buffer. | 6384 | "Show imenu for Perl Info Buffer. |
| 6389 | Opens Perl Info buffer if needed." | 6385 | Opens Perl Info buffer if needed." |
| 6390 | (interactive) | 6386 | (interactive) |
| 6391 | (require 'imenu) | 6387 | (require 'imenu) |
| @@ -6733,8 +6729,7 @@ Does not move point." | |||
| 6733 | "Add to TAGS data for \"pure\" Perl files in the current directory and kids. | 6729 | "Add to TAGS data for \"pure\" Perl files in the current directory and kids. |
| 6734 | Use as | 6730 | Use as |
| 6735 | emacs -batch -q -no-site-file -l emacs/cperl-mode.el \\ | 6731 | emacs -batch -q -no-site-file -l emacs/cperl-mode.el \\ |
| 6736 | -f cperl-add-tags-recurse-noxs | 6732 | -f cperl-add-tags-recurse-noxs" |
| 6737 | " | ||
| 6738 | (cperl-write-tags nil nil t t nil t)) | 6733 | (cperl-write-tags nil nil t t nil t)) |
| 6739 | 6734 | ||
| 6740 | (defun cperl-add-tags-recurse-noxs-fullpath () | 6735 | (defun cperl-add-tags-recurse-noxs-fullpath () |
| @@ -6742,16 +6737,14 @@ Use as | |||
| 6742 | Writes down fullpath, so TAGS is relocatable (but if the build directory | 6737 | Writes down fullpath, so TAGS is relocatable (but if the build directory |
| 6743 | is relocated, the file TAGS inside it breaks). Use as | 6738 | is relocated, the file TAGS inside it breaks). Use as |
| 6744 | emacs -batch -q -no-site-file -l emacs/cperl-mode.el \\ | 6739 | emacs -batch -q -no-site-file -l emacs/cperl-mode.el \\ |
| 6745 | -f cperl-add-tags-recurse-noxs-fullpath | 6740 | -f cperl-add-tags-recurse-noxs-fullpath" |
| 6746 | " | ||
| 6747 | (cperl-write-tags nil nil t t nil t "")) | 6741 | (cperl-write-tags nil nil t t nil t "")) |
| 6748 | 6742 | ||
| 6749 | (defun cperl-add-tags-recurse () | 6743 | (defun cperl-add-tags-recurse () |
| 6750 | "Add to TAGS file data for Perl files in the current directory and kids. | 6744 | "Add to TAGS file data for Perl files in the current directory and kids. |
| 6751 | Use as | 6745 | Use as |
| 6752 | emacs -batch -q -no-site-file -l emacs/cperl-mode.el \\ | 6746 | emacs -batch -q -no-site-file -l emacs/cperl-mode.el \\ |
| 6753 | -f cperl-add-tags-recurse | 6747 | -f cperl-add-tags-recurse" |
| 6754 | " | ||
| 6755 | (cperl-write-tags nil nil t t)) | 6748 | (cperl-write-tags nil nil t t)) |
| 6756 | 6749 | ||
| 6757 | (defvar cperl-tags-file-name "TAGS" | 6750 | (defvar cperl-tags-file-name "TAGS" |
| @@ -7735,11 +7728,10 @@ prototype \\&SUB Returns prototype of the function given a reference. | |||
| 7735 | =begin formatname Start directly formatted region. | 7728 | =begin formatname Start directly formatted region. |
| 7736 | =end formatname End directly formatted region. | 7729 | =end formatname End directly formatted region. |
| 7737 | =for formatname text Paragraph in special format. | 7730 | =for formatname text Paragraph in special format. |
| 7738 | =encoding encodingname Encoding of the document. | 7731 | =encoding encodingname Encoding of the document.") |
| 7739 | ") | ||
| 7740 | 7732 | ||
| 7741 | (defun cperl-switch-to-doc-buffer (&optional interactive) | 7733 | (defun cperl-switch-to-doc-buffer (&optional interactive) |
| 7742 | "Go to the perl documentation buffer and insert the documentation." | 7734 | "Go to the Perl documentation buffer and insert the documentation." |
| 7743 | (interactive "p") | 7735 | (interactive "p") |
| 7744 | (let ((buf (get-buffer-create cperl-doc-buffer))) | 7736 | (let ((buf (get-buffer-create cperl-doc-buffer))) |
| 7745 | (if interactive | 7737 | (if interactive |
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index 6ad55fc1423..052a68547b8 100644 --- a/lisp/progmodes/ebnf2ps.el +++ b/lisp/progmodes/ebnf2ps.el | |||
| @@ -1165,7 +1165,7 @@ Please send all bug fixes and enhancements to | |||
| 1165 | ;;; Interface to the command system | 1165 | ;;; Interface to the command system |
| 1166 | 1166 | ||
| 1167 | (defgroup postscript nil | 1167 | (defgroup postscript nil |
| 1168 | "Printing with PostScript" | 1168 | "Printing with PostScript." |
| 1169 | :tag "PostScript" | 1169 | :tag "PostScript" |
| 1170 | :version "20" | 1170 | :version "20" |
| 1171 | :group 'environment) | 1171 | :group 'environment) |
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 7524c280f25..ab0329d7eec 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el | |||
| @@ -3062,7 +3062,7 @@ the first derived class." | |||
| 3062 | 3062 | ||
| 3063 | (easy-menu-define | 3063 | (easy-menu-define |
| 3064 | ebrowse-member-name-object-menu ebrowse-member-mode-map | 3064 | ebrowse-member-name-object-menu ebrowse-member-mode-map |
| 3065 | "Object menu for member names" | 3065 | "Object menu for member names." |
| 3066 | '("Ebrowse" | 3066 | '("Ebrowse" |
| 3067 | ["Find Definition" ebrowse-find-member-definition | 3067 | ["Find Definition" ebrowse-find-member-definition |
| 3068 | :help "Find this member's definition in the source files" | 3068 | :help "Find this member's definition in the source files" |
| @@ -4200,7 +4200,7 @@ EVENT is the mouse event." | |||
| 4200 | 4200 | ||
| 4201 | (easy-menu-define | 4201 | (easy-menu-define |
| 4202 | ebrowse-tree-buffer-class-object-menu ebrowse-tree-mode-map | 4202 | ebrowse-tree-buffer-class-object-menu ebrowse-tree-mode-map |
| 4203 | "Object menu for classes in the tree buffer" | 4203 | "Object menu for classes in the tree buffer." |
| 4204 | '("Class" | 4204 | '("Class" |
| 4205 | ["Functions" ebrowse-tree-command:show-member-functions | 4205 | ["Functions" ebrowse-tree-command:show-member-functions |
| 4206 | :help "Display a list of member functions" | 4206 | :help "Display a list of member functions" |
| @@ -4242,7 +4242,7 @@ EVENT is the mouse event." | |||
| 4242 | 4242 | ||
| 4243 | (easy-menu-define | 4243 | (easy-menu-define |
| 4244 | ebrowse-tree-buffer-object-menu ebrowse-tree-mode-map | 4244 | ebrowse-tree-buffer-object-menu ebrowse-tree-mode-map |
| 4245 | "Object menu for tree buffers" | 4245 | "Object menu for tree buffers." |
| 4246 | '("Ebrowse" | 4246 | '("Ebrowse" |
| 4247 | ["Filename Display" ebrowse-toggle-file-name-display | 4247 | ["Filename Display" ebrowse-toggle-file-name-display |
| 4248 | :help "Toggle display of source files names" | 4248 | :help "Toggle display of source files names" |
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index cc12fce04a0..5879bce2a76 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -626,7 +626,7 @@ associated `flymake-category' return DEFAULT." | |||
| 626 | (list bitmap))))))) | 626 | (list bitmap))))))) |
| 627 | 627 | ||
| 628 | (defun flymake--highlight-line (diagnostic) | 628 | (defun flymake--highlight-line (diagnostic) |
| 629 | "Highlight buffer with info in DIGNOSTIC." | 629 | "Highlight buffer with info in DIAGNOSTIC." |
| 630 | (let ((type (or (flymake--diag-type diagnostic) | 630 | (let ((type (or (flymake--diag-type diagnostic) |
| 631 | :error)) | 631 | :error)) |
| 632 | (ov (make-overlay | 632 | (ov (make-overlay |
| @@ -973,7 +973,7 @@ Interactively, with a prefix arg, FORCE is t." | |||
| 973 | 973 | ||
| 974 | (defvar flymake-mode-map | 974 | (defvar flymake-mode-map |
| 975 | (let ((map (make-sparse-keymap))) map) | 975 | (let ((map (make-sparse-keymap))) map) |
| 976 | "Keymap for `flymake-mode'") | 976 | "Keymap for `flymake-mode'.") |
| 977 | 977 | ||
| 978 | ;;;###autoload | 978 | ;;;###autoload |
| 979 | (define-minor-mode flymake-mode | 979 | (define-minor-mode flymake-mode |
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index a2f5d7286ac..7cd49a69d4a 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el | |||
| @@ -531,7 +531,7 @@ that form should be displayed.") | |||
| 531 | ((bound-and-true-p semantic-c-takeover-hideif) | 531 | ((bound-and-true-p semantic-c-takeover-hideif) |
| 532 | (semantic-c-hideif-defined var)) | 532 | (semantic-c-hideif-defined var)) |
| 533 | ;; Here we can't use hif-lookup as an empty definition like `#define EMPTY' | 533 | ;; Here we can't use hif-lookup as an empty definition like `#define EMPTY' |
| 534 | ;; is considered defined but is evaluated as `nil'. | 534 | ;; is considered defined but is evaluated as nil. |
| 535 | ((assq var hide-ifdef-env) 1) | 535 | ((assq var hide-ifdef-env) 1) |
| 536 | ((and (setq def (assq var hif-predefine-alist)) | 536 | ((and (setq def (assq var hif-predefine-alist)) |
| 537 | (funcall (cdr def))) 1) | 537 | (funcall (cdr def))) 1) |
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index d57f2d54936..9f123dc8167 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el | |||
| @@ -1156,7 +1156,7 @@ by `css--colors-regexp'. START-POINT is the start of the color, | |||
| 1156 | and MATCH is the string matched by the regexp. | 1156 | and MATCH is the string matched by the regexp. |
| 1157 | 1157 | ||
| 1158 | This function will either return the color, as a hex RGB string; | 1158 | This function will either return the color, as a hex RGB string; |
| 1159 | or `nil' if no color could be recognized. When this function | 1159 | or nil if no color could be recognized. When this function |
| 1160 | returns, point will be at the end of the recognized color." | 1160 | returns, point will be at the end of the recognized color." |
| 1161 | (cond | 1161 | (cond |
| 1162 | ((eq (aref match 0) ?#) | 1162 | ((eq (aref match 0) ?#) |
| @@ -1170,7 +1170,7 @@ returns, point will be at the end of the recognized color." | |||
| 1170 | 1170 | ||
| 1171 | (defcustom css-fontify-colors t | 1171 | (defcustom css-fontify-colors t |
| 1172 | "Whether CSS colors should be fontified using the color as the background. | 1172 | "Whether CSS colors should be fontified using the color as the background. |
| 1173 | When non-`nil', a text representing CSS color will be fontified | 1173 | When non-nil, a text representing CSS color will be fontified |
| 1174 | such that its background is the color itself. E.g., #ff0000 will | 1174 | such that its background is the color itself. E.g., #ff0000 will |
| 1175 | be fontified with a red background." | 1175 | be fontified with a red background." |
| 1176 | :version "26.1" | 1176 | :version "26.1" |
diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el index 877658a5a55..c650da43bff 100644 --- a/lisp/textmodes/enriched.el +++ b/lisp/textmodes/enriched.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | ;; A separate file, enriched.txt, contains further documentation and other | 34 | ;; A separate file, enriched.txt, contains further documentation and other |
| 35 | ;; important information about this code. It also serves as an example | 35 | ;; important information about this code. It also serves as an example |
| 36 | ;; file in text/enriched format. It should be in the etc directory of your | 36 | ;; file in text/enriched format. It should be in the etc directory of your |
| 37 | ;; emacs distribution. | 37 | ;; Emacs distribution. |
| 38 | 38 | ||
| 39 | ;;; Code: | 39 | ;;; Code: |
| 40 | 40 | ||
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 423f37762cf..9b3211df57a 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -546,7 +546,7 @@ in your init file. | |||
| 546 | (custom-add-option 'text-mode-hook 'turn-on-flyspell) | 546 | (custom-add-option 'text-mode-hook 'turn-on-flyspell) |
| 547 | 547 | ||
| 548 | (defvar flyspell-buffers nil | 548 | (defvar flyspell-buffers nil |
| 549 | "For remembering buffers running flyspell") | 549 | "For remembering buffers running flyspell.") |
| 550 | (make-obsolete-variable 'flyspell-buffers "not used." "28.1") | 550 | (make-obsolete-variable 'flyspell-buffers "not used." "28.1") |
| 551 | 551 | ||
| 552 | ;;*---------------------------------------------------------------------*/ | 552 | ;;*---------------------------------------------------------------------*/ |
| @@ -702,8 +702,8 @@ has been used, the current word is not checked." | |||
| 702 | ;;* has to be spell checked. */ | 702 | ;;* has to be spell checked. */ |
| 703 | ;;*---------------------------------------------------------------------*/ | 703 | ;;*---------------------------------------------------------------------*/ |
| 704 | (defvar flyspell-pre-buffer nil "Buffer current before `this-command'.") | 704 | (defvar flyspell-pre-buffer nil "Buffer current before `this-command'.") |
| 705 | (defvar flyspell-pre-point nil "Point before running `this-command'") | 705 | (defvar flyspell-pre-point nil "Point before running `this-command'.") |
| 706 | (defvar flyspell-pre-column nil "Column before running `this-command'") | 706 | (defvar flyspell-pre-column nil "Column before running `this-command'.") |
| 707 | (defvar flyspell-pre-pre-buffer nil) | 707 | (defvar flyspell-pre-pre-buffer nil) |
| 708 | (defvar flyspell-pre-pre-point nil) | 708 | (defvar flyspell-pre-pre-point nil) |
| 709 | (make-variable-buffer-local 'flyspell-pre-point) ;Why?? --Stef | 709 | (make-variable-buffer-local 'flyspell-pre-point) ;Why?? --Stef |
| @@ -1746,7 +1746,7 @@ FLYSPELL-BUFFER." | |||
| 1746 | ;;* flyspell-overlay-p ... */ | 1746 | ;;* flyspell-overlay-p ... */ |
| 1747 | ;;*---------------------------------------------------------------------*/ | 1747 | ;;*---------------------------------------------------------------------*/ |
| 1748 | (defun flyspell-overlay-p (o) | 1748 | (defun flyspell-overlay-p (o) |
| 1749 | "Return true if O is an overlay used by flyspell." | 1749 | "Return non-nil if O is an overlay used by flyspell." |
| 1750 | (and (overlayp o) (overlay-get o 'flyspell-overlay))) | 1750 | (and (overlayp o) (overlay-get o 'flyspell-overlay))) |
| 1751 | 1751 | ||
| 1752 | ;;*---------------------------------------------------------------------*/ | 1752 | ;;*---------------------------------------------------------------------*/ |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 3b9f1d35129..0d95b4c1151 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -60,7 +60,7 @@ | |||
| 60 | ;; `a': Accept word for this session. | 60 | ;; `a': Accept word for this session. |
| 61 | ;; `A': Accept word and place in buffer-local dictionary. | 61 | ;; `A': Accept word and place in buffer-local dictionary. |
| 62 | ;; `r': Replace word with typed-in value. Rechecked. | 62 | ;; `r': Replace word with typed-in value. Rechecked. |
| 63 | ;; `R': Replace word with typed-in value. Query-replaced in buffer. Rechecked. | 63 | ;; `R': Replace word with typed-in value. Query-replaced in buffer. Rechecked. |
| 64 | ;; `?': Show these commands | 64 | ;; `?': Show these commands |
| 65 | ;; `x': Exit spelling buffer. Move cursor to original point. | 65 | ;; `x': Exit spelling buffer. Move cursor to original point. |
| 66 | ;; `X': Exit spelling buffer. Leaves cursor at the current point, and permits | 66 | ;; `X': Exit spelling buffer. Leaves cursor at the current point, and permits |
| @@ -731,8 +731,7 @@ Otherwise returns the library directory name, if that is defined." | |||
| 731 | result)) | 731 | result)) |
| 732 | 732 | ||
| 733 | (defmacro ispell-with-safe-default-directory (&rest body) | 733 | (defmacro ispell-with-safe-default-directory (&rest body) |
| 734 | "Execute the forms in BODY with a reasonable | 734 | "Execute the forms in BODY with a reasonable `default-directory'." |
| 735 | `default-directory'." | ||
| 736 | (declare (indent 0) (debug t)) | 735 | (declare (indent 0) (debug t)) |
| 737 | `(let ((default-directory default-directory)) | 736 | `(let ((default-directory default-directory)) |
| 738 | (unless (file-accessible-directory-p default-directory) | 737 | (unless (file-accessible-directory-p default-directory) |
| @@ -2530,7 +2529,7 @@ if defined." | |||
| 2530 | ;; `grep' returns status 1 and no output when word not found, which | 2529 | ;; `grep' returns status 1 and no output when word not found, which |
| 2531 | ;; is a perfectly normal thing. | 2530 | ;; is a perfectly normal thing. |
| 2532 | (if (stringp status) | 2531 | (if (stringp status) |
| 2533 | (error "error: %s exited with signal %s" | 2532 | (error "Error: %s exited with signal %s" |
| 2534 | (file-name-nondirectory prog) status) | 2533 | (file-name-nondirectory prog) status) |
| 2535 | ;; Else collect words into `results' in FIFO order. | 2534 | ;; Else collect words into `results' in FIFO order. |
| 2536 | (goto-char (point-max)) | 2535 | (goto-char (point-max)) |
| @@ -4090,7 +4089,7 @@ Includes LaTeX/Nroff modes and extended character mode." | |||
| 4090 | ;; Can kill the current ispell process | 4089 | ;; Can kill the current ispell process |
| 4091 | 4090 | ||
| 4092 | (defun ispell-buffer-local-dict (&optional no-reload) | 4091 | (defun ispell-buffer-local-dict (&optional no-reload) |
| 4093 | "Initializes local dictionary and local personal dictionary. | 4092 | "Initialize local dictionary and local personal dictionary. |
| 4094 | If optional NO-RELOAD is non-nil, do not reload any dictionary. | 4093 | If optional NO-RELOAD is non-nil, do not reload any dictionary. |
| 4095 | When a dictionary is defined in the buffer (see variable | 4094 | When a dictionary is defined in the buffer (see variable |
| 4096 | `ispell-dictionary-keyword'), it will override the local setting | 4095 | `ispell-dictionary-keyword'), it will override the local setting |
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el index 87c91e8f1b7..558d6b81d77 100644 --- a/lisp/textmodes/page-ext.el +++ b/lisp/textmodes/page-ext.el | |||
| @@ -257,7 +257,7 @@ | |||
| 257 | ;;; Addresses related variables | 257 | ;;; Addresses related variables |
| 258 | 258 | ||
| 259 | (defcustom pages-addresses-file-name "~/addresses" | 259 | (defcustom pages-addresses-file-name "~/addresses" |
| 260 | "Standard name for file of addresses. Entries separated by page-delimiter. | 260 | "Standard name for file of addresses. Entries separated by `page-delimiter'. |
| 261 | Used by `pages-directory-for-addresses' function." | 261 | Used by `pages-directory-for-addresses' function." |
| 262 | :type 'file) | 262 | :type 'file) |
| 263 | 263 | ||
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el index 1d5d1caeabc..a9b7b6dc964 100644 --- a/lisp/textmodes/picture.el +++ b/lisp/textmodes/picture.el | |||
| @@ -514,7 +514,7 @@ Interactively, reads the register using `register-read-with-preview'." | |||
| 514 | (move-to-column column t)))) | 514 | (move-to-column column t)))) |
| 515 | 515 | ||
| 516 | (defun picture-yank-rectangle (&optional insertp) | 516 | (defun picture-yank-rectangle (&optional insertp) |
| 517 | "Overlay rectangle saved by \\[picture-clear-rectangle] | 517 | "Overlay rectangle saved by \\[picture-clear-rectangle]. |
| 518 | The rectangle is positioned with upper left corner at point, overwriting | 518 | The rectangle is positioned with upper left corner at point, overwriting |
| 519 | existing text. With prefix argument, the rectangle is inserted instead, | 519 | existing text. With prefix argument, the rectangle is inserted instead, |
| 520 | shifting existing text. Leaves mark at one corner of rectangle and | 520 | shifting existing text. Leaves mark at one corner of rectangle and |
diff --git a/lisp/textmodes/refbib.el b/lisp/textmodes/refbib.el index 084b17c676b..ce556be00db 100644 --- a/lisp/textmodes/refbib.el +++ b/lisp/textmodes/refbib.el | |||
| @@ -195,7 +195,7 @@ This is in addition to the `r2b-capitalize-title-stop-words'.") | |||
| 195 | (sit-for 0)))) | 195 | (sit-for 0)))) |
| 196 | 196 | ||
| 197 | (defun r2b-match (exp) | 197 | (defun r2b-match (exp) |
| 198 | "Returns string matched in current buffer." | 198 | "Return string matched in current buffer." |
| 199 | (buffer-substring (match-beginning exp) (match-end exp))) | 199 | (buffer-substring (match-beginning exp) (match-end exp))) |
| 200 | 200 | ||
| 201 | (defcustom r2b-out-buf-name "*Out*" | 201 | (defcustom r2b-out-buf-name "*Out*" |
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el index 895064b82f3..a2b745b0af1 100644 --- a/lisp/textmodes/reftex-cite.el +++ b/lisp/textmodes/reftex-cite.el | |||
| @@ -30,11 +30,11 @@ | |||
| 30 | 30 | ||
| 31 | ;;; Variables and constants | 31 | ;;; Variables and constants |
| 32 | (defvar reftex-cite-regexp-hist nil | 32 | (defvar reftex-cite-regexp-hist nil |
| 33 | "The history list of regular expressions used for citations") | 33 | "The history list of regular expressions used for citations.") |
| 34 | 34 | ||
| 35 | (defconst reftex-citation-prompt | 35 | (defconst reftex-citation-prompt |
| 36 | "Select: [n]ext [p]revious [r]estrict [ ]full_entry [q]uit RET [?]Help+more" | 36 | "Select: [n]ext [p]revious [r]estrict [ ]full_entry [q]uit RET [?]Help+more" |
| 37 | "Prompt and help string for citation selection") | 37 | "Prompt and help string for citation selection.") |
| 38 | 38 | ||
| 39 | (defconst reftex-citation-help | 39 | (defconst reftex-citation-help |
| 40 | " n / p Go to next/previous entry (Cursor motion works as well). | 40 | " n / p Go to next/previous entry (Cursor motion works as well). |
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index 28cc7db2dcd..5674d31c81b 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el | |||
| @@ -1150,7 +1150,7 @@ When index is restricted, select the previous section as restriction criterion." | |||
| 1150 | 1150 | ||
| 1151 | ;; Some constants and variables | 1151 | ;; Some constants and variables |
| 1152 | (defconst reftex-index-phrases-comment-regexp "^[ \t]*%.*" | 1152 | (defconst reftex-index-phrases-comment-regexp "^[ \t]*%.*" |
| 1153 | "Regular expression to match comment lines in phrases buffer") | 1153 | "Regular expression to match comment lines in phrases buffer.") |
| 1154 | (defconst reftex-index-phrases-macrodef-regexp | 1154 | (defconst reftex-index-phrases-macrodef-regexp |
| 1155 | "^\\(>>>INDEX_MACRO_DEFINITION:\\)[ \t]+\\(\\S-\\)\\( *\t[ \t]*\\)\\([^\t]*[^ \t]\\)\\( *\t[ \t]*\\)\\(\\S-+\\)" | 1155 | "^\\(>>>INDEX_MACRO_DEFINITION:\\)[ \t]+\\(\\S-\\)\\( *\t[ \t]*\\)\\([^\t]*[^ \t]\\)\\( *\t[ \t]*\\)\\(\\S-+\\)" |
| 1156 | "Regular expression to match macro definition lines the phrases buffer.") | 1156 | "Regular expression to match macro definition lines the phrases buffer.") |
| @@ -2068,7 +2068,7 @@ both ends." | |||
| 2068 | 2068 | ||
| 2069 | (defun reftex-index-phrases-replace-space (pos) | 2069 | (defun reftex-index-phrases-replace-space (pos) |
| 2070 | "If there is a space at POS, replace it with a newline char. | 2070 | "If there is a space at POS, replace it with a newline char. |
| 2071 | Does not do a save-excursion." | 2071 | Does not do a `save-excursion'." |
| 2072 | (when (equal (char-after pos) ?\ ) | 2072 | (when (equal (char-after pos) ?\ ) |
| 2073 | (goto-char pos) | 2073 | (goto-char pos) |
| 2074 | (delete-char 1) | 2074 | (delete-char 1) |
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 96065ee69e1..cfdf256f70a 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el | |||
| @@ -433,8 +433,8 @@ This flag can be toggled from within the *toc* buffer with the `f' key." | |||
| 433 | :type 'boolean) | 433 | :type 'boolean) |
| 434 | 434 | ||
| 435 | (defcustom reftex-revisit-to-follow nil | 435 | (defcustom reftex-revisit-to-follow nil |
| 436 | "Non-nil means, follow-mode will revisit files if necessary. | 436 | "Non-nil means, `follow-mode' will revisit files if necessary. |
| 437 | If nil, follow-mode will be suspended for stuff in unvisited files." | 437 | If nil, `follow-mode' will be suspended for stuff in unvisited files." |
| 438 | :group 'reftex-table-of-contents-browser | 438 | :group 'reftex-table-of-contents-browser |
| 439 | :group 'reftex-referencing-labels | 439 | :group 'reftex-referencing-labels |
| 440 | :type 'boolean) | 440 | :type 'boolean) |
| @@ -1694,8 +1694,8 @@ entries and for BibTeX database files with live associated buffers." | |||
| 1694 | "Non-nil means, echoed information for cite macros is cached. | 1694 | "Non-nil means, echoed information for cite macros is cached. |
| 1695 | The information displayed in the echo area for cite macros is | 1695 | The information displayed in the echo area for cite macros is |
| 1696 | cached and even saved along with the parsing information. The | 1696 | cached and even saved along with the parsing information. The |
| 1697 | cache survives document scans. In order to clear it, use M-x | 1697 | cache survives document scans. In order to clear it, use |
| 1698 | reftex-reset-mode <RET>." | 1698 | \\[reftex-reset-mode]." |
| 1699 | :group 'reftex-viewing-cross-references | 1699 | :group 'reftex-viewing-cross-references |
| 1700 | :type 'boolean) | 1700 | :type 'boolean) |
| 1701 | 1701 | ||
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 1cb2cf40c3b..1278e4c403c 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | ;;; reftex.el --- minor mode for doing \label, \ref, \cite, \index in LaTeX -*- lexical-binding: t; -*- | 1 | ;;; reftex.el --- minor mode for doing \label, \ref, \cite, \index in LaTeX -*- lexical-binding: t; -*- |
| 2 | |||
| 2 | ;; Copyright (C) 1997-2000, 2003-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-2000, 2003-2021 Free Software Foundation, Inc. |
| 3 | 4 | ||
| 4 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| @@ -1930,7 +1931,7 @@ When DIE is non-nil, throw an error if file not found." | |||
| 1930 | (defun reftex-convert-string (string split-re invalid-re dot keep-fp | 1931 | (defun reftex-convert-string (string split-re invalid-re dot keep-fp |
| 1931 | nwords maxchar invalid abbrev sep | 1932 | nwords maxchar invalid abbrev sep |
| 1932 | ignore-words &optional downcase) | 1933 | ignore-words &optional downcase) |
| 1933 | "Convert a string (a sentence) to something shorter. | 1934 | "Convert STRING (a sentence) to something shorter. |
| 1934 | SPLIT-RE is the regular expression used to split the string into words. | 1935 | SPLIT-RE is the regular expression used to split the string into words. |
| 1935 | INVALID-RE matches characters which are invalid in the final string. | 1936 | INVALID-RE matches characters which are invalid in the final string. |
| 1936 | DOT t means add dots to abbreviated words. | 1937 | DOT t means add dots to abbreviated words. |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index fda00ec367e..5bfcc1a20cc 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -1208,7 +1208,7 @@ and move to the line in the SGML document that caused it." | |||
| 1208 | (compilation-start command)) | 1208 | (compilation-start command)) |
| 1209 | 1209 | ||
| 1210 | (defsubst sgml-at-indentation-p () | 1210 | (defsubst sgml-at-indentation-p () |
| 1211 | "Return true if point is at the first non-whitespace character on the line." | 1211 | "Return t if point is at the first non-whitespace character on the line." |
| 1212 | (save-excursion | 1212 | (save-excursion |
| 1213 | (skip-chars-backward " \t") | 1213 | (skip-chars-backward " \t") |
| 1214 | (bolp))) | 1214 | (bolp))) |
| @@ -2614,7 +2614,7 @@ HTML Autoview mode is a buffer-local minor mode for use with | |||
| 2614 | "</nav>") | 2614 | "</nav>") |
| 2615 | 2615 | ||
| 2616 | (define-skeleton html-html5-template | 2616 | (define-skeleton html-html5-template |
| 2617 | "Initial HTML5 template" | 2617 | "Initial HTML5 template." |
| 2618 | nil | 2618 | nil |
| 2619 | "<!DOCTYPE html>" \n | 2619 | "<!DOCTYPE html>" \n |
| 2620 | "<html lang=\"en\">" \n | 2620 | "<html lang=\"en\">" \n |
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index 2dd52b87b79..50e44ff6367 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el | |||
| @@ -61,7 +61,7 @@ | |||
| 61 | ;; holders. Amazingly there have been no direct support for WYSIWYG | 61 | ;; holders. Amazingly there have been no direct support for WYSIWYG |
| 62 | ;; table editing tasks in Emacs. Many people must have experienced | 62 | ;; table editing tasks in Emacs. Many people must have experienced |
| 63 | ;; manipulating existing overwrite-mode and picture-mode for this task | 63 | ;; manipulating existing overwrite-mode and picture-mode for this task |
| 64 | ;; and only dreamed of having such a lisp package which supports this | 64 | ;; and only dreamed of having such a Lisp package which supports this |
| 65 | ;; specific task directly. Certainly, I have been one of them. The | 65 | ;; specific task directly. Certainly, I have been one of them. The |
| 66 | ;; most difficult part of dealing with table editing in Emacs probably | 66 | ;; most difficult part of dealing with table editing in Emacs probably |
| 67 | ;; is how to realize localized rectangular editing effect. Emacs has | 67 | ;; is how to realize localized rectangular editing effect. Emacs has |
| @@ -860,7 +860,7 @@ cell to cache and cache to cell.") | |||
| 860 | This is always set to nil at the entry to `table-with-cache-buffer' before | 860 | This is always set to nil at the entry to `table-with-cache-buffer' before |
| 861 | executing body forms.") | 861 | executing body forms.") |
| 862 | (defvar-local table-mode-indicator nil | 862 | (defvar-local table-mode-indicator nil |
| 863 | "For mode line indicator") | 863 | "For mode line indicator.") |
| 864 | ;; This is not a real minor-mode but placed in the minor-mode-alist | 864 | ;; This is not a real minor-mode but placed in the minor-mode-alist |
| 865 | ;; so that we can show the indicator on the mode line handy. | 865 | ;; so that we can show the indicator on the mode line handy. |
| 866 | (unless (assq table-mode-indicator minor-mode-alist) | 866 | (unless (assq table-mode-indicator minor-mode-alist) |
| @@ -3625,8 +3625,7 @@ independently. | |||
| 3625 | 3625 | ||
| 3626 | By applying `table-release', which does the opposite process, the | 3626 | By applying `table-release', which does the opposite process, the |
| 3627 | contents become once again plain text. `table-release' works as | 3627 | contents become once again plain text. `table-release' works as |
| 3628 | companion command to `table-capture' this way. | 3628 | companion command to `table-capture' this way." |
| 3629 | " | ||
| 3630 | (interactive | 3629 | (interactive |
| 3631 | (let ((col-delim-regexp) | 3630 | (let ((col-delim-regexp) |
| 3632 | (row-delim-regexp)) | 3631 | (row-delim-regexp)) |
| @@ -4535,7 +4534,7 @@ grow into." | |||
| 4535 | 4534 | ||
| 4536 | (defun table--untabify-line (&optional from) | 4535 | (defun table--untabify-line (&optional from) |
| 4537 | "Untabify current line. | 4536 | "Untabify current line. |
| 4538 | Unlike save-excursion this guarantees preserving the cursor location | 4537 | Unlike `save-excursion' this guarantees preserving the cursor location |
| 4539 | even when the point is on a tab character which is to be removed. | 4538 | even when the point is on a tab character which is to be removed. |
| 4540 | Optional FROM narrows the subject operation from this point to the end | 4539 | Optional FROM narrows the subject operation from this point to the end |
| 4541 | of line." | 4540 | of line." |
| @@ -5074,7 +5073,7 @@ signals error if the optional ABORT-ON-ERROR is non-nil." | |||
| 5074 | 5073 | ||
| 5075 | (defun table--insert-rectangle (rectangle) | 5074 | (defun table--insert-rectangle (rectangle) |
| 5076 | "Insert text of RECTANGLE with upper left corner at point. | 5075 | "Insert text of RECTANGLE with upper left corner at point. |
| 5077 | Same as insert-rectangle except that mark operation is eliminated." | 5076 | Same as `insert-rectangle' except that mark operation is eliminated." |
| 5078 | (let ((lines rectangle) | 5077 | (let ((lines rectangle) |
| 5079 | (insertcolumn (current-column)) | 5078 | (insertcolumn (current-column)) |
| 5080 | (first t)) | 5079 | (first t)) |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index d7cd0aceb21..697c0de5984 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -2353,7 +2353,7 @@ FILE is typically the output DVI or PDF file." | |||
| 2353 | collect (cons char (shell-quote-argument file)))) | 2353 | collect (cons char (shell-quote-argument file)))) |
| 2354 | 2354 | ||
| 2355 | (defun tex-format-cmd (format fspec) | 2355 | (defun tex-format-cmd (format fspec) |
| 2356 | "Like `format-spec' but adds user-specified args to the command. | 2356 | "Like `format-spec' but add user-specified args to the command. |
| 2357 | Only applies the FSPEC to the args part of FORMAT." | 2357 | Only applies the FSPEC to the args part of FORMAT." |
| 2358 | (setq fspec (tex--quote-spec fspec)) | 2358 | (setq fspec (tex--quote-spec fspec)) |
| 2359 | (if (not (string-match "\\([^ /\\]+\\) " format)) | 2359 | (if (not (string-match "\\([^ /\\]+\\) " format)) |
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 11d60e1eb03..135a4047318 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -350,7 +350,7 @@ and also to be turned into Info files with \\[makeinfo-buffer] or | |||
| 350 | the `makeinfo' program. These files must be written in a very restricted and | 350 | the `makeinfo' program. These files must be written in a very restricted and |
| 351 | modified version of TeX input format. | 351 | modified version of TeX input format. |
| 352 | 352 | ||
| 353 | Editing commands are like text-mode except that the syntax table is | 353 | Editing commands are like `text-mode' except that the syntax table is |
| 354 | set up so expression commands skip Texinfo bracket groups. To see | 354 | set up so expression commands skip Texinfo bracket groups. To see |
| 355 | what the Info version of a region of the Texinfo file will look like, | 355 | what the Info version of a region of the Texinfo file will look like, |
| 356 | use \\[makeinfo-region], which runs `makeinfo' on the current region. | 356 | use \\[makeinfo-region], which runs `makeinfo' on the current region. |
| @@ -378,15 +378,15 @@ updating menus and node pointers. These functions | |||
| 378 | 378 | ||
| 379 | Here are the functions: | 379 | Here are the functions: |
| 380 | 380 | ||
| 381 | texinfo-update-node \\[texinfo-update-node] | 381 | `texinfo-update-node' \\[texinfo-update-node] |
| 382 | texinfo-every-node-update \\[texinfo-every-node-update] | 382 | `texinfo-every-node-update' \\[texinfo-every-node-update] |
| 383 | texinfo-sequential-node-update | 383 | `texinfo-sequential-node-update' |
| 384 | 384 | ||
| 385 | texinfo-make-menu \\[texinfo-make-menu] | 385 | `texinfo-make-menu' \\[texinfo-make-menu] |
| 386 | texinfo-all-menus-update \\[texinfo-all-menus-update] | 386 | `texinfo-all-menus-update' \\[texinfo-all-menus-update] |
| 387 | texinfo-master-menu | 387 | `texinfo-master-menu' |
| 388 | 388 | ||
| 389 | texinfo-indent-menu-description (column &optional region-p) | 389 | `texinfo-indent-menu-description' (column &optional region-p) |
| 390 | 390 | ||
| 391 | The `texinfo-column-for-description' variable specifies the column to | 391 | The `texinfo-column-for-description' variable specifies the column to |
| 392 | which menu descriptions are indented. | 392 | which menu descriptions are indented. |
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index 4a64caa36b8..8a9a6b85830 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el | |||
| @@ -291,7 +291,7 @@ and an optional path to which to limit history) and produce a | |||
| 291 | string. The function is called with `default-directory' set to | 291 | string. The function is called with `default-directory' set to |
| 292 | within the repository. | 292 | within the repository. |
| 293 | 293 | ||
| 294 | If no list entry produces a useful revision, return `nil'." | 294 | If no list entry produces a useful revision, return nil." |
| 295 | :type '(repeat (choice | 295 | :type '(repeat (choice |
| 296 | (const :tag "Active bookmark" builtin-active-bookmark) | 296 | (const :tag "Active bookmark" builtin-active-bookmark) |
| 297 | (string :tag "Hg template") | 297 | (string :tag "Hg template") |
| @@ -301,7 +301,7 @@ If no list entry produces a useful revision, return `nil'." | |||
| 301 | (defcustom vc-hg-use-file-version-for-mode-line-version nil | 301 | (defcustom vc-hg-use-file-version-for-mode-line-version nil |
| 302 | "When enabled, the modeline contains revision information for the visited file. | 302 | "When enabled, the modeline contains revision information for the visited file. |
| 303 | When not, the revision in the modeline is for the repository | 303 | When not, the revision in the modeline is for the repository |
| 304 | working copy. `nil' is the much faster setting for | 304 | working copy. nil is the much faster setting for |
| 305 | large repositories." | 305 | large repositories." |
| 306 | :type 'boolean | 306 | :type 'boolean |
| 307 | :version "26.1") | 307 | :version "26.1") |
diff --git a/lisp/windmove.el b/lisp/windmove.el index ef970bb6c96..47a1668ee88 100644 --- a/lisp/windmove.el +++ b/lisp/windmove.el | |||
| @@ -498,7 +498,7 @@ Default value of MODIFIERS is `shift'." | |||
| 498 | 498 | ||
| 499 | (defcustom windmove-display-no-select nil | 499 | (defcustom windmove-display-no-select nil |
| 500 | "Whether the window should be selected after displaying the buffer in it. | 500 | "Whether the window should be selected after displaying the buffer in it. |
| 501 | If `nil', then the new window where the buffer is displayed will be selected. | 501 | If nil, then the new window where the buffer is displayed will be selected. |
| 502 | If `ignore', then don't select a window: neither the new nor the old window, | 502 | If `ignore', then don't select a window: neither the new nor the old window, |
| 503 | thus allowing the next command to decide what window it selects. | 503 | thus allowing the next command to decide what window it selects. |
| 504 | Other non-nil values will reselect the old window that was selected before. | 504 | Other non-nil values will reselect the old window that was selected before. |
diff --git a/test/lisp/progmodes/flymake-tests.el b/test/lisp/progmodes/flymake-tests.el index 45e0c435984..10111ca06cd 100644 --- a/test/lisp/progmodes/flymake-tests.el +++ b/test/lisp/progmodes/flymake-tests.el | |||
| @@ -109,7 +109,7 @@ SEVERITY-PREDICATE is used to setup | |||
| 109 | (face-at-point))))) | 109 | (face-at-point))))) |
| 110 | 110 | ||
| 111 | (ert-deftest perl-backend () | 111 | (ert-deftest perl-backend () |
| 112 | "Test the perl backend" | 112 | "Test the perl backend." |
| 113 | (skip-unless (executable-find "perl")) | 113 | (skip-unless (executable-find "perl")) |
| 114 | (flymake-tests--with-flymake ("test.pl") | 114 | (flymake-tests--with-flymake ("test.pl") |
| 115 | (flymake-goto-next-error) | 115 | (flymake-goto-next-error) |
| @@ -120,7 +120,7 @@ SEVERITY-PREDICATE is used to setup | |||
| 120 | 120 | ||
| 121 | (defvar ruby-mode-hook) | 121 | (defvar ruby-mode-hook) |
| 122 | (ert-deftest ruby-backend () | 122 | (ert-deftest ruby-backend () |
| 123 | "Test the ruby backend" | 123 | "Test the ruby backend." |
| 124 | (skip-unless (executable-find "ruby")) | 124 | (skip-unless (executable-find "ruby")) |
| 125 | ;; Some versions of ruby fail if HOME doesn't exist (bug#29187). | 125 | ;; Some versions of ruby fail if HOME doesn't exist (bug#29187). |
| 126 | (let* ((tempdir (make-temp-file "flymake-tests-ruby" t)) | 126 | (let* ((tempdir (make-temp-file "flymake-tests-ruby" t)) |
| @@ -234,7 +234,7 @@ SEVERITY-PREDICATE is used to setup | |||
| 234 | (lambda (_report-fn) | 234 | (lambda (_report-fn) |
| 235 | ;; HACK: Shoosh log during tests | 235 | ;; HACK: Shoosh log during tests |
| 236 | (setq-local warning-minimum-log-level :emergency) | 236 | (setq-local warning-minimum-log-level :emergency) |
| 237 | (error "crashed")))) | 237 | (error "Crashed")))) |
| 238 | (insert "Lorem ipsum dolor sit amet, consectetur adipiscing | 238 | (insert "Lorem ipsum dolor sit amet, consectetur adipiscing |
| 239 | elit, sed do eiusmod tempor incididunt ut labore et dolore | 239 | elit, sed do eiusmod tempor incididunt ut labore et dolore |
| 240 | manha aliqua. Ut enim ad minim veniam, quis nostrud | 240 | manha aliqua. Ut enim ad minim veniam, quis nostrud |
| @@ -291,7 +291,7 @@ SEVERITY-PREDICATE is used to setup | |||
| 291 | (should-error (flymake-goto-next-error nil nil t)))))) | 291 | (should-error (flymake-goto-next-error nil nil t)))))) |
| 292 | 292 | ||
| 293 | (ert-deftest recurrent-backend () | 293 | (ert-deftest recurrent-backend () |
| 294 | "Test a backend that calls REPORT-FN multiple times" | 294 | "Test a backend that calls REPORT-FN multiple times." |
| 295 | (with-temp-buffer | 295 | (with-temp-buffer |
| 296 | (let (tick) | 296 | (let (tick) |
| 297 | (cl-letf | 297 | (cl-letf |
| @@ -374,4 +374,4 @@ SEVERITY-PREDICATE is used to setup | |||
| 374 | 374 | ||
| 375 | (provide 'flymake-tests) | 375 | (provide 'flymake-tests) |
| 376 | 376 | ||
| 377 | ;;; flymake.el ends here | 377 | ;;; flymake-tests.el ends here |