("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
"Additional expressions to highlight in Outline mode.")
+(defvar outline-view-change-hook nil
+ "Normal hook to be run after outline visibility changes.")
+
;;;autoload
(defun outline-mode ()
"Set major mode for editing outlines with selective display.
(if flag
(let ((o (make-overlay (point) to)))
(overlay-put o 'invisible flag)
- (overlay-put o 'outline t))))))
+ (overlay-put o 'outline t)))))
+ (run-hooks 'outline-view-change-hook))
;; Exclude from the region BEG ... END all overlays
;; with a non-nil PROP property.