Show
Ignore:
Timestamp:
05/27/06 10:35:24 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/net/browse-url.el

    r4037 r4091  
    681681  "Return the URL corresponding to FILE. 
    682682Use variable `browse-url-filename-alist' to map filenames to URLs." 
     683  (let ((coding (and default-enable-multibyte-characters 
     684                     (or file-name-coding-system 
     685                         default-file-name-coding-system)))) 
     686    (if coding (setq file (encode-coding-string file coding)))) 
    683687  ;; URL-encode special chars, do % first 
    684688  (let ((s 0))