aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-09-29 15:59:17 +0300
committerEli Zaretskii2017-09-29 15:59:17 +0300
commit73dba0f4665768b0263050211b61fffbc2dab165 (patch)
tree358b468501804fa7715b4a09053d6efa5f19dd4e
parent61225964edbaa01e49a6e776af00502ab31767b5 (diff)
downloademacs-73dba0f4665768b0263050211b61fffbc2dab165.tar.gz
emacs-73dba0f4665768b0263050211b61fffbc2dab165.zip
Fix last doc string change in simple.el
* lisp/simple.el (shell-command-saved-pos) (region-extract-function, region-bounds): Doc fixes. (Bug#28609)
-rw-r--r--lisp/simple.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 469557713d7..767a3f041e9 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -53,8 +53,8 @@ restores 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 completes. 56 "Position of point in the output buffer after command completes.
57It is an alist of (BUFFER . POS), where BUFFER is the output 57It is a cons cell of the form (BUFFER . POS), where BUFFER is the output
58buffer, and POS is the point position in BUFFER once the command finishes. 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
@@ -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 pairs of (START . END) positions. 1006as a cons cell of the form (START . END).
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,8 @@ 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 pairs of (START . END) positions." 5476 "Return the boundaries of the region as a pair of positions.
5477Value is a cons cell of the form (START . END)."
5477 (funcall region-extract-function 'bounds)) 5478 (funcall region-extract-function 'bounds))
5478 5479
5479(defun region-noncontiguous-p () 5480(defun region-noncontiguous-p ()