help-gnu-emacs
[Top][All Lists]
Advanced

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

tex-mode-hook not working anymore?


From: Fabrice Delente
Subject: tex-mode-hook not working anymore?
Date: Mon, 18 Mar 2013 12:49:29 +0100

Hello.

This is with GNU Emacs 24.2.1.

I have set tex-mode-hook to add keyboard shortcuts to custom elisp
functions in my .emacs:

(add-hook 'tex-mode-hook
          '(lambda ()
             (define-key tex-mode-map [?\C-,] 'insere-une-virgule)
             (define-key tex-mode-map [?\M-\(] 'comment-region)
...etc.
))


However, it stopped working today. When I hit one of my shortcuts, I
get "undefined" in the minibuffer.

How can I restore it?

Thanks.

--
F. Delente



reply via email to

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