[Top][All Lists]

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

RE: keybinding trouble

From: Drew Adams
Subject: RE: keybinding trouble
Date: Fri, 8 Feb 2013 08:40:18 -0800

> (eval-after-load 'flyspell-mode
>       '(define-key flyspell-mode-map (kbd "C-c f")
>               'flyspell-auto-correct-previous-word))
> I also tried "\C-c f", "C-c ." and "\C-c ." -- none of them works,
> neither in GTK emacs nor in terminal mode.

(kbd "C-c f") and (kbd "C-c .") are reasonable.
For just a string, lose the space: "\C-cf" and "\C-c.".

Does just loading flyspell-mode define the keymap?  Is the feature or library
actually named `flyspell-mode' and not `flyspell'?  (In my emacs -Q, there is
only flyspell.el.)

You can check the bindings for a given keymap using `C-h M-k'
(`describe-keymap'), from `help-fns+.el':

reply via email to

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