Mercurial > emacs
changeset 4908:bca0ff204d70
(tex-validate-region, tex-region):
Enable menu items if only mark is active.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 03 Nov 1993 20:00:33 +0000 |
parents | fca72ee8bf94 |
children | 74ae77c7d742 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Wed Nov 03 13:06:04 1993 +0000 +++ b/lisp/textmodes/tex-mode.el Wed Nov 03 20:00:33 1993 +0000 @@ -211,6 +211,9 @@ (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