[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: links in Help buffer aren'talwayscorrect]
From: |
Kevin Rodgers |
Subject: |
Re: address@hidden: links in Help buffer aren'talwayscorrect] |
Date: |
Fri, 23 Dec 2005 10:07:02 -0700 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Another small simplification:
> (xref-or-indent-regexp
> (format "\\(%s\\)\\|\\(\n +\\)" xref-regexp))
...
> (while (re-search-forward xref-or-indent-regexp
nil t)
> (cond ((and (match-beginning 1) (match-end 1))
> (replace-match "" t t))
> ((and (match-beginning 2) (match-end 2))
> (replace-match "\n" t t))))
could be:
(xref-or-indent-regexp
(concat xref-regexp "\\|^ +"))
...
(while (re-search-forward xref-or-indent-regexp nil t)
(replace-match "" t t)
--
Kevin