> * Richard M. Stallman <[EMAIL PROTECTED]> [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.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to