[gnus git] branch master updated: m0-7-58-gdd99998 =1= * eww.el (eww-tag-form): Protect against degenerate forms.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  dd9999893908f883d69f8a2cbe8261e801860dff (commit)
      from  87ffe4fceb752e20460aa80a6d582a8ee09eafde (commit)


- Log -----------------------------------------------------------------
commit dd9999893908f883d69f8a2cbe8261e801860dff
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Tue Jun 11 00:16:08 2013 +0200

    * eww.el (eww-tag-form): Protect against degenerate forms.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1c17850..d220b2c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2013-06-10  Lars Magne Ingebrigtsen  <[email protected]>
 
+	* eww.el (eww-tag-form): Protect against degenerate forms.
+
 	* shr.el (shr-expand-url): Expand URLs that start with a slash
 	correctly.
 
diff --git a/lisp/eww.el b/lisp/eww.el
index 1a07224..9a7435f 100644
--- a/lisp/eww.el
+++ b/lisp/eww.el
@@ -177,8 +177,9 @@
     (shr-ensure-paragraph)
     (shr-generic cont)
     (shr-ensure-paragraph)
+    (when (> (point) start)
     (put-text-property start (1+ start)
-		       'eww-form eww-form)))
+			 'eww-form eww-form))))
 
 (defun eww-tag-input (cont)
   (let* ((start (point))

-----------------------------------------------------------------------
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 |    2 ++
 lisp/eww.el    |    5 +++--
 2 files changed, 5 insertions(+), 2 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.