mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 20:29:36 +00:00
bug#28609: simple.el
Correct grammar; also, call a pair a pair.
This commit is contained in:
parent
827db6b559
commit
e7c8da4d05
1 changed files with 10 additions and 10 deletions
|
@ -39,11 +39,11 @@
|
||||||
|
|
||||||
(defcustom shell-command-dont-erase-buffer nil
|
(defcustom shell-command-dont-erase-buffer nil
|
||||||
"If non-nil, output buffer is not erased between shell commands.
|
"If non-nil, output buffer is not erased between shell commands.
|
||||||
Also, a non-nil value set the point in the output buffer
|
Also, a non-nil value sets the point in the output buffer
|
||||||
once the command complete.
|
once the command completes.
|
||||||
The value `beg-last-out' set point at the beginning of the output,
|
The value `beg-last-out' sets point at the beginning of the output,
|
||||||
`end-last-out' set point at the end of the buffer, `save-point'
|
`end-last-out' sets point at the end of the buffer, `save-point'
|
||||||
restore the buffer position before the command."
|
restores the buffer position before the command."
|
||||||
:type '(choice
|
:type '(choice
|
||||||
(const :tag "Erase buffer" nil)
|
(const :tag "Erase buffer" nil)
|
||||||
(const :tag "Set point to beginning of last output" beg-last-out)
|
(const :tag "Set point to beginning of last output" beg-last-out)
|
||||||
|
@ -53,9 +53,9 @@ restore the buffer position before the command."
|
||||||
:version "26.1")
|
:version "26.1")
|
||||||
|
|
||||||
(defvar shell-command-saved-pos nil
|
(defvar shell-command-saved-pos nil
|
||||||
"Point position in the output buffer after command complete.
|
"Point position in the output buffer after command completes.
|
||||||
It is an alist (BUFFER . POS), where BUFFER is the output
|
It is an alist of (BUFFER . POS), where BUFFER is the output
|
||||||
buffer, and POS is the point position in BUFFER once the command finish.
|
buffer, and POS is the point position in BUFFER once the command finishes.
|
||||||
This variable is used when `shell-command-dont-erase-buffer' is non-nil.")
|
This variable is used when `shell-command-dont-erase-buffer' is non-nil.")
|
||||||
|
|
||||||
(defcustom idle-update-delay 0.5
|
(defcustom idle-update-delay 0.5
|
||||||
|
@ -1003,7 +1003,7 @@ Called with one argument METHOD.
|
||||||
If METHOD is `delete-only', then delete the region; the return value
|
If METHOD is `delete-only', then delete the region; the return value
|
||||||
is undefined. If METHOD is nil, then return the content as a string.
|
is undefined. If METHOD is nil, then return the content as a string.
|
||||||
If METHOD is `bounds', then return the boundaries of the region
|
If METHOD is `bounds', then return the boundaries of the region
|
||||||
as a list of the form (START . END).
|
as a pair of (START . END) positions.
|
||||||
If METHOD is anything else, delete the region and return its content
|
If METHOD is anything else, delete the region and return its content
|
||||||
as a string, after filtering it with `filter-buffer-substring', which
|
as a string, after filtering it with `filter-buffer-substring', which
|
||||||
is called with METHOD as its 3rd argument.")
|
is called with METHOD as its 3rd argument.")
|
||||||
|
@ -5473,7 +5473,7 @@ also checks the value of `use-empty-active-region'."
|
||||||
(progn (cl-assert (mark)) t)))
|
(progn (cl-assert (mark)) t)))
|
||||||
|
|
||||||
(defun region-bounds ()
|
(defun region-bounds ()
|
||||||
"Return the boundaries of the region as a list of (START . END) positions."
|
"Return the boundaries of the region as a pair of (START . END) positions."
|
||||||
(funcall region-extract-function 'bounds))
|
(funcall region-extract-function 'bounds))
|
||||||
|
|
||||||
(defun region-noncontiguous-p ()
|
(defun region-noncontiguous-p ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue