1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

(tex-validate-region, tex-region):

Enable menu items if only mark is active.
This commit is contained in:
Richard M. Stallman 1993-11-03 20:00:33 +00:00
parent 8f090e8546
commit ff5da6c9c8

View File

@ -211,6 +211,9 @@ Set by \\[tex-region], \\[tex-buffer], and \\[tex-file].")
(define-key keymap [menu-bar tex tex-buffer] '("Tex Buffer" . tex-buffer))
)
(put 'tex-region 'menu-enable 'mark-active)
(put 'tex-validate-region 'menu-enable 'mark-active)
(defvar tex-mode-map nil "Keymap for TeX mode.")
(if tex-mode-map