auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] How to customize tex-mode-map to rebind TeX-electric-escape


From: Ed C.
Subject: Re: [AUCTeX] How to customize tex-mode-map to rebind TeX-electric-escape?..
Date: Sun, 15 Nov 2009 12:30:19 -0600
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Maybe "\C-\\" or [(control ?\\)] or [(control 92)] If none of those work
then I am at a loss as how to help. If you're using a lot of unicode it
might be better to leave C-\ as toggle-input-method and bind
tex-electric-macro function to C-c something or other.

Leo Alekseyev wrote:
> Dear All,
> I would like to use TeX-electric-macro, but I would like to rebind it
> to C-\ (backslash).  I tried both of the following:
> (define-key tex-mode-map [(control \\)] 'TeX-electric-macro)
> 
> and
> 
>  (add-hook 'TeX-mode-hook
>         '(lambda ()
>            (define-key tex-mode-map [(control \\)] 'TeX-electric-macro)))
> 
> However, in both cases I get an error "symbol's value as variable is
> void: tex-mode-map".  Can anyone tell me what the correct procedure is
> for rebinding the command?
> Thanks,
> --Leo
> 
> 
> _______________________________________________
> auctex mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/auctex
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]