From: Juanma Barranquero Date: Tue, 13 Jan 2009 01:53:45 +0000 (+0000) Subject: * url-util.el (url-truncate-url-for-viewing): Doc fix. X-Git-Tag: emacs-pretest-23.0.90~490 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9e52e92aa7f4f3e6006b23fba719bdf0899eeed;p=emacs.git * url-util.el (url-truncate-url-for-viewing): Doc fix. --- diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 04483a8539e..a40e5831485 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,7 @@ +2009-01-13 Juanma Barranquero + + * url-util.el (url-truncate-url-for-viewing): Doc fix. + 2009-01-09 Glenn Morris * url-cid.el (url-cid-gnus): Fix typo in header name. diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index ed47781b175..6218a5cd1cb 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el @@ -387,7 +387,7 @@ of the file with the extension stripped off." ;;;###autoload (defun url-truncate-url-for-viewing (url &optional width) - "Return a shortened version of URL that is WIDTH characters or less wide. + "Return a shortened version of URL that is WIDTH characters wide or less. WIDTH defaults to the current frame width." (let* ((fr-width (or width (frame-width))) (str-width (length url))