]> code.delx.au - gnu-emacs/commitdiff
(s-region-bind): Doc fix.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 20 Jul 2005 21:48:43 +0000 (21:48 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 20 Jul 2005 21:48:43 +0000 (21:48 +0000)
(s-region-move-p1, s-region-move-p2): Fix typos in docstrings.

lisp/s-region.el

index d3fa6b1f30791801e40dde547eac71a2b6c6a2f6..b28ab2224349b3694ce8c42c4b4f02cbf67aa9eb 100644 (file)
     (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))
 
   (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)))