Fix doc typos

* lisp/simple.el (line-move-ignore-invisible):
* lisp/sort.el (sort-regexp-fields):
* lisp/cedet/ede.el (project-add-file):
* lisp/gnus/message.el (message-bogus-recipient-p):
* lisp/international/mule.el (define-coding-system):
* lisp/progmodes/ebrowse.el (ebrowse-member-buffer-object-menu):
* lisp/progmodes/xscheme.el (xscheme-allow-output-p)
(scheme-interaction-mode, scheme-debugger-mode)
(xscheme-yank-pop, xscheme-yank-push): Doc fixes.
This commit is contained in:
Glenn Morris 2017-10-28 17:10:25 -07:00
parent 82a16c547b
commit 5b59841791
13 changed files with 23 additions and 26 deletions

View file

@ -998,7 +998,7 @@ Argument PROMPT is the prompt to use when querying the user for a target."
(project-add-file this file)) (project-add-file this file))
(cl-defmethod project-add-file ((ot ede-target) _file) (cl-defmethod project-add-file ((ot ede-target) _file)
"Add the current buffer into project project target OT. "Add the current buffer into project target OT.
Argument FILE is the file to add." Argument FILE is the file to add."
(error "add-file not supported by %s" (eieio-object-name ot))) (error "add-file not supported by %s" (eieio-object-name ot)))

View file

@ -1046,7 +1046,7 @@ wildcards, erases the buffer, and builds the subdir-alist anew
;; default-directory and dired-actual-switches must be buffer-local ;; default-directory and dired-actual-switches must be buffer-local
;; and initialized by now. ;; and initialized by now.
(let (dirname (let (dirname
;; This makes readin much much faster. ;; This makes read-in much faster.
;; In particular, it prevents the font lock hook from running ;; In particular, it prevents the font lock hook from running
;; until the directory is all read in. ;; until the directory is all read in.
(inhibit-modification-hooks t)) (inhibit-modification-hooks t))

View file

@ -4346,7 +4346,7 @@ conformance."
RECIPIENTS is a mail header. Return a list of potentially bogus RECIPIENTS is a mail header. Return a list of potentially bogus
addresses. If none is found, return nil. addresses. If none is found, return nil.
An address might be bogus if if there's a matching entry in An address might be bogus if there's a matching entry in
`message-bogus-addresses'." `message-bogus-addresses'."
;; FIXME: How about "foo@subdomain", when the MTA adds ".domain.tld"? ;; FIXME: How about "foo@subdomain", when the MTA adds ".domain.tld"?
(let (found) (let (found)

View file

@ -64,7 +64,7 @@
;; also be correct, see the documentation for `nnir-namazu-remove-prefix' ;; also be correct, see the documentation for `nnir-namazu-remove-prefix'
;; above. ;; above.
;; ;;
;; It is particularly important not to pass any any switches to namazu ;; It is particularly important not to pass any switches to namazu
;; that will change the output format. Good switches to use include ;; that will change the output format. Good switches to use include
;; `--sort', `--ascending', `--early' and `--late'. Refer to the Namazu ;; `--sort', `--ascending', `--early' and `--late'. Refer to the Namazu
;; documentation for further information on valid switches. ;; documentation for further information on valid switches.

View file

@ -773,7 +773,7 @@ never used by the other charsets.
If it is a list, the elements must be charsets, nil, 94, or 96. GN If it is a list, the elements must be charsets, nil, 94, or 96. GN
can be used by all the listed charsets. If the list contains 94, any can be used by all the listed charsets. If the list contains 94, any
iso-2022 charset whose code-space ranges are 94 long can be designated iso-2022 charset whose code-space ranges are 94 long can be designated
to GN. If the list contains 96, any charsets whose whose ranges are to GN. If the list contains 96, any charsets whose ranges are
96 long can be designated to GN. If the first element is a charset, 96 long can be designated to GN. If the first element is a charset,
that charset is initially designated to GN. that charset is initially designated to GN.

View file

@ -635,7 +635,7 @@ size, and full-buffer size."
(replace-match " " t t)) (replace-match " " t t))
(shr--translate-insertion-chars) (shr--translate-insertion-chars)
(goto-char (point-max))) (goto-char (point-max)))
;; We may have removed everything we inserted if if was just ;; We may have removed everything we inserted if it was just
;; spaces. ;; spaces.
(unless (= font-start (point)) (unless (= font-start (point))
;; Mark all lines that should possibly be folded afterwards. ;; Mark all lines that should possibly be folded afterwards.

View file

@ -2328,7 +2328,7 @@ and runs `compilation-filter-hook'."
(while (,< n 0) (while (,< n 0)
(setq opt pt) (setq opt pt)
(or (setq pt (,property-change pt 'compilation-message)) (or (setq pt (,property-change pt 'compilation-message))
;; Handle the case where where the first error message is ;; Handle the case where the first error message is
;; at the start of the buffer, and n < 0. ;; at the start of the buffer, and n < 0.
(if (or (eq (get-text-property ,limit 'compilation-message) (if (or (eq (get-text-property ,limit 'compilation-message)
(get-text-property opt 'compilation-message)) (get-text-property opt 'compilation-message))

View file

@ -3034,7 +3034,7 @@ the first derived class."
:help "Show the base class of this class" :help "Show the base class of this class"
:active t] :active t]
["Down" ebrowse-switch-member-buffer-to-derived-class ["Down" ebrowse-switch-member-buffer-to-derived-class
:help "Show a derived class class of this class" :help "Show a derived class of this class"
:active t] :active t]
["Next Sibling" ebrowse-switch-member-buffer-to-next-sibling-class ["Next Sibling" ebrowse-switch-member-buffer-to-next-sibling-class
:help "Show the next sibling class" :help "Show the next sibling class"

View file

@ -1830,7 +1830,7 @@ and source-file directory for your debugger."
;; ;;
;; Type M-n to step over the current line and M-s to step into it. That, ;; Type M-n to step over the current line and M-s to step into it. That,
;; along with the JDB 'help' command should get you started. The 'quit' ;; along with the JDB 'help' command should get you started. The 'quit'
;; JDB command will get out out of the debugger. There is some truly ;; JDB command will get out of the debugger. There is some truly
;; pathetic JDB documentation available at: ;; pathetic JDB documentation available at:
;; ;;
;; http://java.sun.com/products/jdk/1.1/debugging/ ;; http://java.sun.com/products/jdk/1.1/debugging/

View file

@ -85,8 +85,7 @@ reading-type received an altmode but nothing else
reading-string reading prompt string") reading-string reading prompt string")
(defvar-local xscheme-allow-output-p t (defvar-local xscheme-allow-output-p t
"This variable, if nil, prevents output from the scheme process "Non-nil stops scheme process output being inserted in the process buffer.")
from being inserted into the process-buffer.")
(defvar-local xscheme-prompt "" (defvar-local xscheme-prompt ""
"The current scheme prompt string.") "The current scheme prompt string.")
@ -300,7 +299,7 @@ With argument, asks for a command line."
(defun scheme-interaction-mode (&optional preserve) (defun scheme-interaction-mode (&optional preserve)
"Major mode for interacting with an inferior MIT Scheme process. "Major mode for interacting with an inferior MIT Scheme process.
Like scheme-mode except that: Like `scheme-mode' except that:
\\[xscheme-send-previous-expression] sends the expression before point to the Scheme process as input \\[xscheme-send-previous-expression] sends the expression before point to the Scheme process as input
\\[xscheme-yank-pop] yanks an expression previously sent to Scheme \\[xscheme-yank-pop] yanks an expression previously sent to Scheme
@ -315,7 +314,7 @@ in the minibuffer. If an error occurs, the process buffer will
automatically pop up to show you the error message. automatically pop up to show you the error message.
While the Scheme process is running, the mode lines of all buffers in While the Scheme process is running, the mode lines of all buffers in
scheme-mode are modified to show the state of the process. The `scheme-mode' are modified to show the state of the process. The
possible states and their meanings are: possible states and their meanings are:
input waiting for input input waiting for input
@ -353,13 +352,13 @@ Some possible command interpreter types and their meanings are:
Starting with release 6.2 of Scheme, the latter two types of command Starting with release 6.2 of Scheme, the latter two types of command
interpreters will change the major mode of the Scheme process buffer interpreters will change the major mode of the Scheme process buffer
to scheme-debugger-mode , in which the evaluation commands are to `scheme-debugger-mode', in which the evaluation commands are
disabled, and the keys which normally self insert instead send disabled, and the keys which normally self insert instead send
themselves to the Scheme process. The command character ? will list themselves to the Scheme process. The command character ? will list
the available commands. the available commands.
For older releases of Scheme, the major mode will be be For older releases of Scheme, the major mode will be
scheme-interaction-mode , and the command characters must be sent as `scheme-interaction-mode', and the command characters must be sent as
if they were expressions. if they were expressions.
Commands: Commands:
@ -367,10 +366,8 @@ Delete converts tabs to spaces as it moves back.
Blank lines separate paragraphs. Semicolons start comments. Blank lines separate paragraphs. Semicolons start comments.
\\{scheme-interaction-mode-map} \\{scheme-interaction-mode-map}
Entry to this mode calls the value of scheme-interaction-mode-hook Entry to this mode runs `scheme-mode-hook' and then
with no args, if that value is non-nil. `scheme-interaction-mode-hook'."
Likewise with the value of scheme-mode-hook.
scheme-interaction-mode-hook is called after scheme-mode-hook."
;; FIXME: Use define-derived-mode. ;; FIXME: Use define-derived-mode.
(interactive "P") (interactive "P")
(if (not preserve) (if (not preserve)
@ -456,7 +453,7 @@ with no args, if that value is non-nil.
(defun scheme-debugger-mode () (defun scheme-debugger-mode ()
"Major mode for executing the Scheme debugger. "Major mode for executing the Scheme debugger.
Like scheme-mode except that the evaluation commands Like `scheme-mode' except that the evaluation commands
are disabled, and characters that would normally be self inserting are are disabled, and characters that would normally be self inserting are
sent to the Scheme process instead. Typing ? will show you which sent to the Scheme process instead. Typing ? will show you which
characters perform useful functions. characters perform useful functions.
@ -593,7 +590,7 @@ See also the commands \\[xscheme-yank-pop] and \\[xscheme-yank-push]."
"Insert or replace a just-yanked expression with an older expression. "Insert or replace a just-yanked expression with an older expression.
If the previous command was not a yank, it yanks. If the previous command was not a yank, it yanks.
Otherwise, the region contains a stretch of reinserted Otherwise, the region contains a stretch of reinserted
expression. yank-pop deletes that text and inserts in its expression. `yank-pop' deletes that text and inserts in its
place a different expression. place a different expression.
With no argument, the next older expression is inserted. With no argument, the next older expression is inserted.
@ -620,7 +617,7 @@ comes the newest one."
"Insert or replace a just-yanked expression with a more recent expression. "Insert or replace a just-yanked expression with a more recent expression.
If the previous command was not a yank, it yanks. If the previous command was not a yank, it yanks.
Otherwise, the region contains a stretch of reinserted Otherwise, the region contains a stretch of reinserted
expression. yank-pop deletes that text and inserts in its expression. `yank-pop' deletes that text and inserts in its
place a different expression. place a different expression.
With no argument, the next more recent expression is inserted. With no argument, the next more recent expression is inserted.

View file

@ -5965,7 +5965,7 @@ Used internally by `line-move-visual'.")
"Non-nil means commands that move by lines ignore invisible newlines. "Non-nil means commands that move by lines ignore invisible newlines.
When this option is non-nil, \\[next-line], \\[previous-line], \\[move-end-of-line], and \\[move-beginning-of-line] behave When this option is non-nil, \\[next-line], \\[previous-line], \\[move-end-of-line], and \\[move-beginning-of-line] behave
as if newlines that are invisible didn't exist, and count as if newlines that are invisible didn't exist, and count
only visible newlines. Thus, moving across across 2 newlines only visible newlines. Thus, moving across 2 newlines
one of which is invisible will be counted as a one-line move. one of which is invisible will be counted as a one-line move.
Also, a non-nil value causes invisible text to be ignored when Also, a non-nil value causes invisible text to be ignored when
counting columns for the purposes of keeping point in the same counting columns for the purposes of keeping point in the same

View file

@ -406,7 +406,7 @@ the sort order."
;;;###autoload ;;;###autoload
(defun sort-regexp-fields (reverse record-regexp key-regexp beg end) (defun sort-regexp-fields (reverse record-regexp key-regexp beg end)
"Sort the text in the region region lexicographically. "Sort the text in the region lexicographically.
If called interactively, prompt for two regular expressions, If called interactively, prompt for two regular expressions,
RECORD-REGEXP and KEY-REGEXP. RECORD-REGEXP and KEY-REGEXP.

View file

@ -2022,7 +2022,7 @@ commands that are defined in texinfo.tex for printed output.
(push (- end-of-template start-of-template) (push (- end-of-template start-of-template)
texinfo-multitable-width-list) texinfo-multitable-width-list)
;; Remove carriage return from within a template, if any. ;; Remove carriage return from within a template, if any.
;; This helps those those who want to use more than ;; This helps those who want to use more than
;; one line's worth of words in @multitable line. ;; one line's worth of words in @multitable line.
(narrow-to-region start-of-template end-of-template) (narrow-to-region start-of-template end-of-template)
(goto-char (point-min)) (goto-char (point-min))