Variable: rectangle-mark-mode-hook
rectangle-mark-mode-hook is a customizable variable defined in
rect.el.gz.
Value
nil
Documentation
Hook run after entering or leaving rectangle-mark-mode(var)/rectangle-mark-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/rect.el.gz
;;;###autoload
(define-minor-mode rectangle-mark-mode
"Toggle the region as rectangular.
Activates the region if it's inactive and Transient Mark mode is
on. Only lasts until the region is next deactivated."
:lighter nil
(rectangle--reset-crutches)
(when rectangle-mark-mode
(add-hook 'deactivate-mark-hook
(lambda () (rectangle-mark-mode -1)))
(unless (region-active-p)
(push-mark (point) t t)
(message "Mark set (rectangle mode)"))))