[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: makefile-dependency-regex
From: |
Sam Steingold |
Subject: |
Re: makefile-dependency-regex |
Date: |
Sat, 27 Aug 2005 23:31:34 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
> * Richard M. Stallman <address@hidden> [2005-08-27 22:46:13 -0400]:
>
> Does this fix it?
>
> *** make-mode.el 01 Aug 2005 11:11:11 -0400 1.106
> --- make-mode.el 27 Aug 2005 21:10:45 -0400
> ***************
> *** 1833,1838 ****
> --- 1833,1841 ----
> ;; Don't keep looking across a blank line or comment.
> (looking-at "$\\|#")
> (not (zerop (forward-line -1))))))
> + (when found
> + (setq found (replace-regexp-in-string "[ \t]+\\'" "" found))
> + (setq found (replace-regexp-in-string "\\`[ \t]+" "" found)))
> found)))
>
> (provide 'make-mode)
yes, thanks.
if would be nice to provide a function string-trim what would do
something like this (some packages have to do that themselves, like
bbdb-string-trim)
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.openvotingconsortium.org/> <http://www.jihadwatch.org/>
<http://www.camera.org> <http://www.honestreporting.com> <http://pmw.org.il/>
Incorrect time synchronization.