mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(tex-validate-region, tex-region):
Enable menu items if only mark is active.
This commit is contained in:
parent
8f090e8546
commit
ff5da6c9c8
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue