Mercurial > emacs
diff lisp/url/url-util.el @ 91040:14c4a6aac623
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 866-879)
- Merge multi-tty branch
- Update from CVS
- Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 11 Oct 2007 16:14:00 +0000 |
parents | e18c264133a5 |
children | 591c29778a30 |
line wrap: on
line diff
--- a/lisp/url/url-util.el Thu Oct 11 01:51:15 2007 +0000 +++ b/lisp/url/url-util.el Thu Oct 11 16:14:00 2007 +0000 @@ -168,7 +168,7 @@ type (url-type data)) (if (member type '("www" "about" "mailto" "info")) (setq retval url) - (url-set-target data nil) + (setf (url-target data) nil) (setq retval (url-recreate-url data))) retval)) @@ -190,7 +190,7 @@ (let* ((raw (if specified-time (current-time-string specified-time) (current-time-string))) (gmt (timezone-make-date-arpa-standard raw - (nth 1 (current-time-zone)) + (current-time-zone) "GMT")) (parsed (timezone-parse-date gmt)) (day (cdr-safe (assoc (substring raw 0 3) url-weekday-alist))) @@ -421,13 +421,13 @@ (string-match "/" fname)) (setq fname (substring fname (match-end 0) nil) modified (1+ modified)) - (url-set-filename urlobj fname) + (setf (url-filename urlobj) fname) (setq url (url-recreate-url urlobj) str-width (length url))) (if (> modified 1) (setq fname (concat "/.../" fname)) (setq fname (concat "/" fname))) - (url-set-filename urlobj fname) + (setf (url-filename urlobj) fname) (setq url (url-recreate-url urlobj))) url))