summaryrefslogtreecommitdiff
path: root/lisp/dos-w32.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/dos-w32.el')
-rw-r--r--lisp/dos-w32.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el
index ae6ed5dc366..a910603f907 100644
--- a/lisp/dos-w32.el
+++ b/lisp/dos-w32.el
@@ -72,15 +72,12 @@ against the file name, and TYPE is nil for text, t for binary.")
(setq alist (cdr alist)))
found)))
-;; Silence compiler. Defined in src/buffer.c on DOS_NT.
-(defvar default-buffer-file-type)
-
;; Don't check for untranslated file systems here.
(defun find-buffer-file-type (filename)
(let ((match (find-buffer-file-type-match filename))
(code))
(if (not match)
- default-buffer-file-type
+ (default-value 'buffer-file-type)
(setq code (cdr match))
(cond ((memq code '(nil t)) code)
((and (symbolp code) (fboundp code))