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:
parent
0befcaca93
commit
d9e52e92aa
2 changed files with 5 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue