Variable: pascal-outline-mode-hook

pascal-outline-mode-hook is a customizable variable defined in pascal.el.gz.

Value

nil

Documentation

Hook run after entering or leaving pascal-outline-mode(var)/pascal-outline-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/progmodes/pascal.el.gz
(define-minor-mode pascal-outline-mode
  "Outline-line minor mode for Pascal mode.

When enabled, portions of the text being edited may be made
invisible.\\<pascal-outline-map>

Pascal Outline mode provides some additional commands.

\\[pascal-outline-prev-defun]\
\t- Move to previous function/procedure, hiding everything else.
\\[pascal-outline-next-defun]\
\t- Move to next function/procedure, hiding everything else.
\\[pascal-outline-goto-defun]\
\t- Goto function/procedure prompted for in minibuffer,
\t  hide all other functions.
\\[pascal-show-all]\t- Show the whole buffer.
\\[pascal-hide-other-defuns]\
\t- Hide everything but the current function (function under the cursor).
\\[pascal-outline-mode]\t- Leave Pascal Outline mode."
  :init-value nil :lighter " Outl" :keymap pascal-outline-map
  (add-to-invisibility-spec '(pascal . t))
  (unless pascal-outline-mode
    (pascal-show-all)))