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:
parent
8f090e8546
commit
ff5da6c9c8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user