[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No line break within [[foo bar]] (wikipedia)
From: |
Kai Großjohann |
Subject: |
Re: No line break within [[foo bar]] (wikipedia) |
Date: |
Sun, 20 Apr 2003 10:40:00 +0200 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) |
Karl Eichwalder <keichwa@gmx.net> writes:
> Next open issue: How can I use this mechanism to prevent Emacs from
> breaking lines starting with "*" or "#"?
??
I guess it's obvious how to change the code to look for * or # at
beginning of line. So I guess you did that, but it didn't work.
What exactly did you try, and what happened when you tried it?
(save-excursion
(beginning-of-line)
(member (char-after (point)) '(?\* ?\#)))
...seems to be code that looks whether the line starts with * or #.
--
file-error; Data: (Opening input file no such file or directory ~/.signature)