aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/eww.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 6a315496fe0..5748e88bbca 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1501,7 +1501,7 @@ If CHARSET is nil then use UTF-8."
1501 (setq start (point) 1501 (setq start (point)
1502 title (plist-get bookmark :title)) 1502 title (plist-get bookmark :title))
1503 (when (> (length title) width) 1503 (when (> (length title) width)
1504 (setq title (substring title 0 width))) 1504 (setq title (truncate-string-to-width title width)))
1505 (insert (format format title (plist-get bookmark :url)) "\n") 1505 (insert (format format title (plist-get bookmark :url)) "\n")
1506 (put-text-property start (1+ start) 'eww-bookmark bookmark)) 1506 (put-text-property start (1+ start) 'eww-bookmark bookmark))
1507 (goto-char (point-min)))) 1507 (goto-char (point-min))))