|
From: | martin rudalics |
Subject: | Re: Mysterious fontification/C++ context issue - Patch for beginning-of-defun-raw. |
Date: | Thu, 14 Dec 2006 11:45:22 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
beginning-of-defun's (and (beginning-of-defun-raw arg) (progn (beginning-of-line) t))) might still spoil everything with a construct like (foo ...) (bar ...) and point after "bar". Maybe you should try (and (prog1 (beginning-of-defun-raw arg) (when open-paren-in-column-0-is-defun-start (beginning-of-line))))) instead.
[Prev in Thread] | Current Thread | [Next in Thread] |