all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fabrice Delente <delentef@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: tex-mode-hook not working anymore?
Date: Mon, 18 Mar 2013 12:49:29 +0100	[thread overview]
Message-ID: <CAK4aCBa12VoMPF2At8_EomejeAhiSYqdOVPpGSnRGd5cHURaQA@mail.gmail.com> (raw)

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	other threads:[~2013-03-18 11:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-18 11:49 Fabrice Delente [this message]
2013-03-18 11:57 ` tex-mode-hook not working anymore? Fabrice Delente
2013-03-18 18:13   ` Stefan Husmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAK4aCBa12VoMPF2At8_EomejeAhiSYqdOVPpGSnRGd5cHURaQA@mail.gmail.com \
    --to=delentef@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.