Commit ff5da6c9 authored by Richard M. Stallman's avatar Richard M. Stallman

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

Enable menu items if only mark is active.
parent 8f090e85
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment