Variable: autoarg-kp-mode-hook
autoarg-kp-mode-hook is a customizable variable defined in
autoarg.el.gz.
Value
nil
Documentation
Hook run after entering or leaving autoarg-kp-mode(var)/autoarg-kp-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/autoarg.el.gz
;;;###autoload
(define-minor-mode autoarg-kp-mode
"Toggle Autoarg-KP mode, a global minor mode.
\\<autoarg-kp-mode-map>
This is similar to `autoarg-mode' but rebinds the keypad keys
`kp-1' etc. to supply digit arguments.
\\{autoarg-kp-mode-map}"
:lighter " Aakp" :global t :group 'keyboard
(if autoarg-kp-mode
(dotimes (i 10)
(let ((sym (intern (format "kp-%d" i))))
(define-key universal-argument-map (vector sym)
'autoarg-kp-digit-argument)))
(dotimes (i 10)
(let ((sym (intern (format "kp-%d" i))))
(define-key universal-argument-map (vector sym) nil)))))