diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2005-07-20 21:48:43 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2005-07-20 21:48:43 +0000 |
commit | bd7c852ac7f13c844f9d68902f889d9a6ef5383b (patch) | |
tree | 33afbe1a0cec5a0fff8a62d9529dc8f4467ff4ca /lisp/s-region.el | |
parent | 01cdabc616023c38eb645ea8d1ac74dc848f4eeb (diff) | |
download | emacs-bd7c852ac7f13c844f9d68902f889d9a6ef5383b.tar.gz emacs-bd7c852ac7f13c844f9d68902f889d9a6ef5383b.tar.bz2 emacs-bd7c852ac7f13c844f9d68902f889d9a6ef5383b.zip |
(s-region-bind): Doc fix.
(s-region-move-p1, s-region-move-p2): Fix typos in docstrings.
Diffstat (limited to 'lisp/s-region.el')
-rw-r--r-- | lisp/s-region.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/s-region.el b/lisp/s-region.el index d3fa6b1f307..b28ab222434 100644 --- a/lisp/s-region.el +++ b/lisp/s-region.el @@ -63,12 +63,12 @@ (error "Non-vector key: %S" key))) (defun s-region-move-p1 (&rest arg) - "This is an overlay function to point-moving keys that are interactive \"p\"" + "This is an overlay function to point-moving keys that are interactive \"p\"." (interactive "p") (apply (function s-region-move) arg)) (defun s-region-move-p2 (&rest arg) - "This is an overlay function to point-moving keys that are interactive \"P\"" + "This is an overlay function to point-moving keys that are interactive \"P\"." (interactive "P") (apply (function s-region-move) arg)) @@ -83,10 +83,10 @@ (delete-overlay s-region-overlay)) (defun s-region-bind (keylist &optional map) - "Bind shifted keys in KEYLIST to s-region-move-p1 or s-region-move-p2. -Each key in KEYLIST is shifted and bound to one of the s-region-move + "Bind shifted keys in KEYLIST to `s-region-move-p1' or `s-region-move-p2'. +Each key in KEYLIST is shifted and bound to one of the `s-region-move' functions provided it is already bound to some command or other. -Optional third argument MAP specifies keymap to add binding to, defaulting +Optional second argument MAP specifies keymap to add binding to, defaulting to global keymap." (let ((p2 (list 'scroll-up 'scroll-down 'beginning-of-buffer 'end-of-buffer))) |