aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2004-05-09 22:15:14 +0000
committerJuanma Barranquero <[email protected]>2004-05-09 22:15:14 +0000
commitcba610754db9050f69e352fc0ffa92e5d2783295 (patch)
tree71dae0d36ea633d5f66ba280328bdddc83e777a9 /lisp/subr.el
parent64ec7df91d02bda490b03807eac4b1249a26c97b (diff)
(remove-overlays, read-passwd): Fix docstring.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index f90b5f774c..5453ee2e45 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1280,7 +1280,7 @@ any other non-digit terminates the character code and is then used as input."))
(defun read-passwd (prompt &optional confirm default)
"Read a password, prompting with PROMPT. Echo `.' for each character typed.
End with RET, LFD, or ESC. DEL or C-h rubs out. C-u kills line.
-Optional argument CONFIRM, if non-nil, then read it twice to make sure.
+If optional CONFIRM is non-nil, read password twice to make sure.
Optional DEFAULT is a default password to use instead of empty input."
(if confirm
(let (success)
@@ -1534,8 +1534,8 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there."
(defun remove-overlays (&optional beg end name val)
"Clear BEG and END of overlays whose property NAME has value VAL.
-Overlays might be moved and or split.
-BEG and END default to the beginning resp. end of buffer."
+Overlays might be moved and/or split.
+BEG and END default respectively to the beginning and end of buffer."
(unless beg (setq beg (point-min)))
(unless end (setq end (point-max)))
(if (< end beg)