|
From: | martin rudalics |
Subject: | font-lock-extend-region-wholelines |
Date: | Wed, 16 Aug 2006 17:17:29 +0200 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
A silly question: Shouldn't the bobps below be bolps? (defun font-lock-extend-region-wholelines () "Move fontification boundaries to beginning of lines." (let ((changed nil)) (goto-char font-lock-beg) (unless (bobp) (setq changed t font-lock-beg (line-beginning-position))) ^ (goto-char font-lock-end) (unless (bobp) (setq changed t font-lock-end (line-beginning-position 2))) ^ changed))
[Prev in Thread] | Current Thread | [Next in Thread] |