all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#19127: 25.0.50; [PATCH] * net/eww.el (eww-add-bookmark): Fix bookmark title
@ 2014-11-20 17:49 Mark Oteiza
  2014-11-23 15:40 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Oteiza @ 2014-11-20 17:49 UTC (permalink / raw
  To: 19127

---
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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#19127: 25.0.50; [PATCH] * net/eww.el (eww-add-bookmark): Fix bookmark title
  2014-11-20 17:49 bug#19127: 25.0.50; [PATCH] * net/eww.el (eww-add-bookmark): Fix bookmark title Mark Oteiza
@ 2014-11-23 15:40 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-23 15:40 UTC (permalink / raw
  To: Mark Oteiza; +Cc: 19127

Mark Oteiza <mvoteiza@udel.edu> writes:

> +2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
> +
> +	* net/eww.el (eww-add-bookmark): Fix bookmark titles.
> +

Thanks; applied.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-23 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 17:49 bug#19127: 25.0.50; [PATCH] * net/eww.el (eww-add-bookmark): Fix bookmark title Mark Oteiza
2014-11-23 15:40 ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.