[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small `c-electric-paren' fix
From: |
Alan Mackenzie |
Subject: |
Re: Small `c-electric-paren' fix |
Date: |
7 Apr 2007 21:55:47 +0200 |
Date: |
Sat, 7 Apr 2007 22:15:02 +0100 |
User-agent: |
Mutt/1.5.9i |
Hi, David!
On Sat, Mar 31, 2007 at 02:15:46PM +0200, David Hansen wrote:
> Hello,
> I've already send this to the cc-mode list some time ago (X-Post
> anyway) but seems the maintainer is kinda busy. Can someone else
> please take care of it? It's clearly a bug and the fix is pretty
> short and obvious.
DONE.
> To reproduce:
>
> (defun dh-c-mode-hook ()
> (push 'space-before-funcall c-cleanup-list))
>
> (add-hook 'c-mode-hook #'dh-c-mode-hook)
>
>
> Now open some .c file and type some parenthesis. A space is
> automatically inserted even if the paren is not a function call.
--
Alan Mackenzie (Ittersbach, Germany)