Function: allout-institute-keymap

allout-institute-keymap is a byte-compiled function defined in allout.el.gz.

Signature

(allout-institute-keymap MAP)

Documentation

Associate allout-mode(var)/allout-mode(fun) bindings with allout as a minor mode.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  > allout-institute-keymap (map)
(defun allout-institute-keymap (map)
  "Associate `allout-mode' bindings with allout as a minor mode."
  ;; Architecture:
  ;; allout-mode-map var is a keymap by virtue of being a defalias for
  ;; allout-mode-map-value, which has the actual keymap value.
  ;; allout-mode-map's symbol value is just 'allout-mode-map, so it can be
  ;; used in minor-mode-map-alist to indirect to the actual
  ;; allout-mode-map-var value, which can be adjusted and reassigned.

  ;; allout-mode-map-value for keymap reference in various places:
  (setq allout-mode-map-value map)
  ;; the function value keymap of allout-mode-map is used in
  ;; minor-mode-map-alist - update it:
  (fset allout-mode-map allout-mode-map-value))