Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d9e52e92
Commit
d9e52e92
authored
Jan 13, 2009
by
Juanma Barranquero
Browse files
* url-util.el (url-truncate-url-for-viewing): Doc fix.
parent
0befcaca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/url/ChangeLog
lisp/url/ChangeLog
+4
-0
lisp/url/url-util.el
lisp/url/url-util.el
+1
-1
No files found.
lisp/url/ChangeLog
View file @
d9e52e92
2009-01-13 Juanma Barranquero <lekktu@gmail.com>
* url-util.el (url-truncate-url-for-viewing): Doc fix.
2009-01-09 Glenn Morris <rgm@gnu.org>
* url-cid.el (url-cid-gnus): Fix typo in header name.
...
...
lisp/url/url-util.el
View file @
d9e52e92
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment