1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(default-buffer-file-type): Add defvar to quieten byte-compiler.

This commit is contained in:
Glenn Morris 2007-04-10 04:05:10 +00:00
parent 39234e3973
commit f22f1a912b

View File

@ -74,6 +74,9 @@ 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))