unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tex-mode-hook not working anymore?
@ 2013-03-18 11:49 Fabrice Delente
  2013-03-18 11:57 ` Fabrice Delente
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Delente @ 2013-03-18 11:49 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-18 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 11:49 tex-mode-hook not working anymore? Fabrice Delente
2013-03-18 11:57 ` Fabrice Delente
2013-03-18 18:13   ` Stefan Husmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).