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

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

Re: Unable to Rebind Tab Key in cperl-mode


From: Stefan Monnier
Subject: Re: Unable to Rebind Tab Key in cperl-mode
Date: Wed, 09 May 2007 11:02:04 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> Based on my understanding, I should do something like this, right?

> (add-hook 'cperl-mode-hook
>           (function (lambda ()
>                       (local-set-key (kbd "TAB") 'indent-or-complete)
>                       )))

> Yet, when I do describe-key & hit tab, this is what I get:

> TAB runs the command cperl-indent-command
>    which is an interactive compiled Lisp function in `cperl-mode'.
> (cperl-indent-command &optional WHOLE-EXP)

> Any advice on things to try next?

Are you sure you're using cperl-mode?


        Stefan


reply via email to

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