[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19127: 25.0.50; [PATCH] * net/eww.el (eww-add-bookmark): Fix bookmar
From: |
Mark Oteiza |
Subject: |
bug#19127: 25.0.50; [PATCH] * net/eww.el (eww-add-bookmark): Fix bookmark title |
Date: |
Thu, 20 Nov 2014 12:49:28 -0500 |
---
eww was simply saving the page :url as the title, instead of the :title
lisp/ChangeLog | 4 ++++
lisp/net/eww.el | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 473a1f8..0fe765d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
+
+ * net/eww.el (eww-add-bookmark): Fix bookmark titles.
+
2014-11-20 Eric S. Raymond <esr@snark>
* vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el,
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 6746668..2c73a64 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1321,7 +1321,7 @@ Differences in #targets are ignored."
(if (y-or-n-p "bookmark this page? ")
(progn
(let ((title (replace-regexp-in-string "[\n\t\r]" " "
- (plist-get eww-data :url))))
+ (plist-get eww-data :title))))
(setq title (replace-regexp-in-string "\\` +\\| +\\'" "" title))
(push (list :url (plist-get eww-data :url)
:title title
--
2.1.3
- bug#19127: 25.0.50; [PATCH] * net/eww.el (eww-add-bookmark): Fix bookmark title,
Mark Oteiza <=