aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevon Sean McCullough2017-09-26 10:51:04 -0400
committerJohn Wiegley2017-09-26 09:32:36 -0700
commite7c8da4d058233859e74441aff5236a02b039d21 (patch)
tree6b925a780fc6c627a1fced6cefe6308fca74753f
parent827db6b559100153fd7dcab1ecdabd9233e906ab (diff)
downloademacs-e7c8da4d058233859e74441aff5236a02b039d21.tar.gz
emacs-e7c8da4d058233859e74441aff5236a02b039d21.zip
bug#28609: simple.el
Correct grammar; also, call a pair a pair.
-rw-r--r--lisp/simple.el20
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.
42Also, a non-nil value set the point in the output buffer 42Also, a non-nil value sets the point in the output buffer
43once the command complete. 43once the command completes.
44The value `beg-last-out' set point at the beginning of the output, 44The 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'
46restore the buffer position before the command." 46restores 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.
57It is an alist (BUFFER . POS), where BUFFER is the output 57It is an alist of (BUFFER . POS), where BUFFER is the output
58buffer, and POS is the point position in BUFFER once the command finish. 58buffer, and POS is the point position in BUFFER once the command finishes.
59This variable is used when `shell-command-dont-erase-buffer' is non-nil.") 59This 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.
1003If METHOD is `delete-only', then delete the region; the return value 1003If METHOD is `delete-only', then delete the region; the return value
1004is undefined. If METHOD is nil, then return the content as a string. 1004is undefined. If METHOD is nil, then return the content as a string.
1005If METHOD is `bounds', then return the boundaries of the region 1005If METHOD is `bounds', then return the boundaries of the region
1006as a list of the form (START . END). 1006as a pair of (START . END) positions.
1007If METHOD is anything else, delete the region and return its content 1007If METHOD is anything else, delete the region and return its content
1008as a string, after filtering it with `filter-buffer-substring', which 1008as a string, after filtering it with `filter-buffer-substring', which
1009is called with METHOD as its 3rd argument.") 1009is 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 ()