]> code.delx.au - gnu-emacs/blobdiff - lisp/emulation/keypad.el
Update docs for `customize-mode'
[gnu-emacs] / lisp / emulation / keypad.el
index df9ed78c9421262cefc8803bf820b3dfe09642bc..1e283b275d58987825a3f42dae5b2e7e3e934a85 100644 (file)
@@ -1,7 +1,6 @@
 ;;; keypad.el --- simplified keypad bindings
 
-;; Copyright (C) 2002, 2003, 2004, 2005, 2006,
-;;   2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2002-2016 Free Software Foundation, Inc.
 
 ;; Author: Kim F. Storm <storm@cua.dk>
 ;; Keywords: keyboard convenience
@@ -28,7 +27,7 @@
 ;;
 ;; With the following setup, the keypad can be used for numeric data
 ;; entry when NumLock is off, and to give numeric prefix arguments to
-;; emacs commands, when NumLock on on.
+;; emacs commands, when NumLock is on.
 ;;
 ;;  keypad-setup         => Plain Numeric Keypad
 ;;  keypad-numlock-setup => Prefix numeric args
@@ -200,15 +199,15 @@ keys are bound.
 
  Setup      Binding
  -------------------------------------------------------------
'prefix   Command prefix argument, i.e.  M-0 .. M-9 and M--
'S-cursor Bind shifted keypad keys to the shifted cursor movement keys.
'cursor   Bind keypad keys to the cursor movement keys.
'numeric  Plain numeric keypad, i.e. 0 .. 9 and .  (or DECIMAL arg)
'none     Removes all bindings for keypad keys in function-key-map;
-           this enables any user-defined bindings for the keypad keys
-           in the global and local keymaps.
`prefix'   Command prefix argument, i.e.  M-0 .. M-9 and M--
`S-cursor' Bind shifted keypad keys to the shifted cursor movement keys.
`cursor'   Bind keypad keys to the cursor movement keys.
`numeric'  Plain numeric keypad, i.e. 0 .. 9 and .  (or DECIMAL arg)
`none'     Removes all bindings for keypad keys in function-key-map;
+            this enables any user-defined bindings for the keypad keys
+            in the global and local keymaps.
 
-If SETUP is 'numeric and the optional fourth argument DECIMAL is non-nil,
+If SETUP is `numeric' and the optional fourth argument DECIMAL is non-nil,
 the decimal key on the keypad is mapped to DECIMAL instead of `.'"
   (let* ((i 0)
         (var (cond
@@ -270,5 +269,4 @@ the decimal key on the keypad is mapped to DECIMAL instead of `.'"
 
       (setq i (1+ i)))))
 
-;; arch-tag: 0899d2bd-9e12-4b4e-9aef-d0014d3b6414
 ;;; keypad.el ends here