changeset 104772:d04b8967407b

(browse-url-file-url): Use default-value rather than default-enable-multibyte-characters.
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Sep 2009 03:17:03 +0000
parents 2c8224ca97e2
children 380c4c2a4fc2
files lisp/net/browse-url.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/browse-url.el	Tue Sep 01 03:16:07 2009 +0000
+++ b/lisp/net/browse-url.el	Tue Sep 01 03:17:03 2009 +0000
@@ -699,7 +699,7 @@
 (defun browse-url-file-url (file)
   "Return the URL corresponding to FILE.
 Use variable `browse-url-filename-alist' to map filenames to URLs."
-  (let ((coding (and default-enable-multibyte-characters
+  (let ((coding (and (default-value 'enable-multibyte-characters)
 		     (or file-name-coding-system
 			 default-file-name-coding-system))))
     (if coding (setq file (encode-coding-string file coding))))