[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cperl-indent-for-comment
From: |
LanX |
Subject: |
Re: cperl-indent-for-comment |
Date: |
Wed, 08 Dec 2010 15:07:38 -0000 |
User-agent: |
G2/1.0 |
Hi
I posted the the code on perlmonks:
http://perlmonks.org/index.pl?node_id=839203
I had to extend it to assure that there is no syntax-type at point
(not (get-text-property (point) 'syntax-type))
I'm wondering now if checking
(memq (get-text-property (point) 'face)
'(cperl-my-trailing-spaces-face nil))
is redundant now, for what I see all other cperl-faces only occur when
syntax-type is not set! (?)
Cheers
Rolf
- Re: cperl-indent-for-comment,
LanX <=