[Top][All Lists]

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

Re: C-M-h not working properly for PHP class

From: Luca Ferrari
Subject: Re: C-M-h not working properly for PHP class
Date: Tue, 2 Jul 2013 09:27:07 +0200

(Ops...sorry this should have been sent to the list)

I need a little help to fix the problem with the php-mode. I tried to
do the following:

(add-hook 'php-mode-hook
          (lambda ()
            (local-set-key  (kbd "C-M h") 'mark-defun ) ) )

but when I load the php-mode and ask (C-h k) to what is bound C-M h
Emacs says it is still bound to c-mark-defun.
What am I missing?


On Mon, Jul 1, 2013 at 3:32 PM, Luca Ferrari <> wrote:
> On Sat, Jun 29, 2013 at 1:54 PM, Chris Van Dusen <> wrote:
>> The built-in mark-defun works for me.
> Confirm: it works for me too, while c-mark-function does not work
> always on php source files: within classes it marks everything.
> Thanks,
> Luca

reply via email to

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