emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patches and one bug


From: Rüdiger Sonderfeld
Subject: Re: patches and one bug
Date: Mon, 24 Jun 2013 16:05:37 +0200
User-agent: KMail/4.10.3 (Linux/3.8.0-23-generic; KDE/4.10.3; x86_64; ; )

On Monday 24 June 2013 15:36:40 Lars Magne Ingebrigtsen wrote:
> > -    (setq url (concat eww-search-prefix
> > -                      (replace-regexp-in-string " " "+" url))))
> > +    (unless (string-match-p "^file:" url)
> > +      (setq url (concat eww-search-prefix
> > +                        (replace-regexp-in-string " " "+" url)))))
> 
> Applied.

Minor nitpick.  The regex should probably use \\` instead of ^.  The former 
matches only at the beginning of the string while the latter also matches 
after newlines.

"\\`file:"

Regards,
Rüdiger





reply via email to

[Prev in Thread] Current Thread [Next in Thread]