[gnus git] branch master updated: m0-7-150-g9cd1966 =1= * eww.el (eww-update-header-line-format): Quote % characters.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  9cd19667eb3ce2fb021bf294cb50ea648341f2f3 (commit)
      from  7f2b16658ba330020aa8c505dbb3eca00c5afa9f (commit)


- Log -----------------------------------------------------------------
commit 9cd19667eb3ce2fb021bf294cb50ea648341f2f3
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Fri Jun 21 08:55:48 2013 +0200

    * eww.el (eww-update-header-line-format): Quote % characters.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dfe4361..a8c1d4f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-21  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* eww.el (eww-update-header-line-format): Quote % characters.
+
 2013-06-19  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* eww.el (eww-process-text-input): Display passwords as asterisks.
diff --git a/lisp/eww.el b/lisp/eww.el
index b09d873..ad19758 100644
--- a/lisp/eww.el
+++ b/lisp/eww.el
@@ -230,9 +230,12 @@
 
 (defun eww-update-header-line-format ()
   (if eww-header-line-format
-      (setq header-line-format (format-spec eww-header-line-format
+      (setq header-line-format
+	    (replace-regexp-in-string
+	     "%" "%%"
+	     (format-spec eww-header-line-format
                                             `((?u . ,eww-current-url)
-                                              (?t . ,eww-current-title))))
+			    (?t . ,eww-current-title)))))
     (setq header-line-format nil)))
 
 (defun eww-tag-title (cont)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    4 ++++
 lisp/eww.el    |    9 ++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.