]> git.eshelyaron.com Git - emacs.git/commitdiff
(font-lock-defaults): Add defvar.
authorRichard M. Stallman <rms@gnu.org>
Sun, 25 Dec 1994 22:20:06 +0000 (22:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 25 Dec 1994 22:20:06 +0000 (22:20 +0000)
(buffer-file-type): Add defvar.

lisp/subr.el

index 427189f64a217fc063c0a92357377c8063c43096..261a7b670d944484b7b6d2f7ac8b72037c9c2e1a 100644 (file)
@@ -826,6 +826,18 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there."
 \f
 ;;;; Miscellanea.
 
+;; A number of major modes set this locally.
+;; Give it a global value to avoid compiler warnings.
+(defvar font-lock-defaults nil)
+
+;; Avoid compiler warnings about this variable,
+;; which has a special meaning on certain system types.
+(defvar buffer-file-type nil
+  "Non-nil if the visited file is a binary file.
+This variable is meaningful on MS-DOG and Windows NT.
+On those systems, it is automatically local in every buffer.
+On other systems, this variable is normally always nil.")
+
 (defun ignore (&rest ignore)
   "Do nothing and return nil.
 This function accepts any number of arguments, but ignores them."