1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* url-util.el (url-truncate-url-for-viewing): Doc fix.

This commit is contained in:
Juanma Barranquero 2009-01-13 01:53:45 +00:00
parent 0befcaca93
commit d9e52e92aa
2 changed files with 5 additions and 1 deletions

View file

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