diff options
| author | Devon Sean McCullough | 2017-09-26 10:51:04 -0400 |
|---|---|---|
| committer | John Wiegley | 2017-09-26 09:32:36 -0700 |
| commit | e7c8da4d058233859e74441aff5236a02b039d21 (patch) | |
| tree | 6b925a780fc6c627a1fced6cefe6308fca74753f | |
| parent | 827db6b559100153fd7dcab1ecdabd9233e906ab (diff) | |
| download | emacs-e7c8da4d058233859e74441aff5236a02b039d21.tar.gz emacs-e7c8da4d058233859e74441aff5236a02b039d21.zip | |
bug#28609: simple.el
Correct grammar; also, call a pair a pair.
| -rw-r--r-- | lisp/simple.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 4e42fd52415..d21b15d5314 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -39,11 +39,11 @@ | |||
| 39 | 39 | ||
| 40 | (defcustom shell-command-dont-erase-buffer nil | 40 | (defcustom shell-command-dont-erase-buffer nil |
| 41 | "If non-nil, output buffer is not erased between shell commands. | 41 | "If non-nil, output buffer is not erased between shell commands. |
| 42 | Also, a non-nil value set the point in the output buffer | 42 | Also, a non-nil value sets the point in the output buffer |
| 43 | once the command complete. | 43 | once the command completes. |
| 44 | The value `beg-last-out' set point at the beginning of the output, | 44 | The value `beg-last-out' sets point at the beginning of the output, |
| 45 | `end-last-out' set point at the end of the buffer, `save-point' | 45 | `end-last-out' sets point at the end of the buffer, `save-point' |
| 46 | restore the buffer position before the command." | 46 | restores the buffer position before the command." |
| 47 | :type '(choice | 47 | :type '(choice |
| 48 | (const :tag "Erase buffer" nil) | 48 | (const :tag "Erase buffer" nil) |
| 49 | (const :tag "Set point to beginning of last output" beg-last-out) | 49 | (const :tag "Set point to beginning of last output" beg-last-out) |
| @@ -53,9 +53,9 @@ restore the buffer position before the command." | |||
| 53 | :version "26.1") | 53 | :version "26.1") |
| 54 | 54 | ||
| 55 | (defvar shell-command-saved-pos nil | 55 | (defvar shell-command-saved-pos nil |
| 56 | "Point position in the output buffer after command complete. | 56 | "Point position in the output buffer after command completes. |
| 57 | It is an alist (BUFFER . POS), where BUFFER is the output | 57 | It is an alist of (BUFFER . POS), where BUFFER is the output |
| 58 | buffer, and POS is the point position in BUFFER once the command finish. | 58 | buffer, and POS is the point position in BUFFER once the command finishes. |
| 59 | This variable is used when `shell-command-dont-erase-buffer' is non-nil.") | 59 | This variable is used when `shell-command-dont-erase-buffer' is non-nil.") |
| 60 | 60 | ||
| 61 | (defcustom idle-update-delay 0.5 | 61 | (defcustom idle-update-delay 0.5 |
| @@ -1003,7 +1003,7 @@ Called with one argument METHOD. | |||
| 1003 | If METHOD is `delete-only', then delete the region; the return value | 1003 | If METHOD is `delete-only', then delete the region; the return value |
| 1004 | is undefined. If METHOD is nil, then return the content as a string. | 1004 | is undefined. If METHOD is nil, then return the content as a string. |
| 1005 | If METHOD is `bounds', then return the boundaries of the region | 1005 | If METHOD is `bounds', then return the boundaries of the region |
| 1006 | as a list of the form (START . END). | 1006 | as a pair of (START . END) positions. |
| 1007 | If METHOD is anything else, delete the region and return its content | 1007 | If METHOD is anything else, delete the region and return its content |
| 1008 | as a string, after filtering it with `filter-buffer-substring', which | 1008 | as a string, after filtering it with `filter-buffer-substring', which |
| 1009 | is called with METHOD as its 3rd argument.") | 1009 | is called with METHOD as its 3rd argument.") |
| @@ -5473,7 +5473,7 @@ also checks the value of `use-empty-active-region'." | |||
| 5473 | (progn (cl-assert (mark)) t))) | 5473 | (progn (cl-assert (mark)) t))) |
| 5474 | 5474 | ||
| 5475 | (defun region-bounds () | 5475 | (defun region-bounds () |
| 5476 | "Return the boundaries of the region as a list of (START . END) positions." | 5476 | "Return the boundaries of the region as a pair of (START . END) positions." |
| 5477 | (funcall region-extract-function 'bounds)) | 5477 | (funcall region-extract-function 'bounds)) |
| 5478 | 5478 | ||
| 5479 | (defun region-noncontiguous-p () | 5479 | (defun region-noncontiguous-p () |