[OS X Emacs] LaTeX add-hook to remap C-c doesn't work

Cheng-Yang Tan cytan299 at yahoo.com
Fri May 30 16:35:37 EDT 2014

Hi guys,
I'm wondering whether this is a bug in Aquamacs because the followings in vanilla emacs:

;; overide the latex-mode keymappings with mine

(defmacro override-keys (map)
  (list 'lambda 'nil
        (list 'define-key map (list 'kbd '"C-c") ''scroll-up)

(add-hook 'latex-mode-hook (override-keys latex-mode-map))

The above is in my ~/Library/Preferences/Aquamacs\ Emacs/Preferences.el file as well as my ~/.emacs file.

In vanilla emacs, C-c in LaTeX mode, works as I like it, i.e. having C-c defined as scroll up.

However, in Aquamacs, C-c is undefined. Checking with describe-key indeed shows that it is unmapped.

Is there any workaround for my preference?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20140530/2e005f9a/attachment.html>

More information about the MacOSX-Emacs mailing list