diff options
| author | Richard M. Stallman | 1994-12-25 22:20:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-12-25 22:20:06 +0000 |
| commit | 448b61c92a3c32c2ce22e4093c9cd9f869856aa9 (patch) | |
| tree | f98866079c95df252d4373376d2a6d38a2f8e7ce | |
| parent | 006d3d34586e063f202b69bbadd0aa96ddc36634 (diff) | |
| download | emacs-448b61c92a3c32c2ce22e4093c9cd9f869856aa9.tar.gz emacs-448b61c92a3c32c2ce22e4093c9cd9f869856aa9.zip | |
(font-lock-defaults): Add defvar.
(buffer-file-type): Add defvar.
| -rw-r--r-- | lisp/subr.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 427189f64a2..261a7b670d9 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -826,6 +826,18 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there." | |||
| 826 | 826 | ||
| 827 | ;;;; Miscellanea. | 827 | ;;;; Miscellanea. |
| 828 | 828 | ||
| 829 | ;; A number of major modes set this locally. | ||
| 830 | ;; Give it a global value to avoid compiler warnings. | ||
| 831 | (defvar font-lock-defaults nil) | ||
| 832 | |||
| 833 | ;; Avoid compiler warnings about this variable, | ||
| 834 | ;; which has a special meaning on certain system types. | ||
| 835 | (defvar buffer-file-type nil | ||
| 836 | "Non-nil if the visited file is a binary file. | ||
| 837 | This variable is meaningful on MS-DOG and Windows NT. | ||
| 838 | On those systems, it is automatically local in every buffer. | ||
| 839 | On other systems, this variable is normally always nil.") | ||
| 840 | |||
| 829 | (defun ignore (&rest ignore) | 841 | (defun ignore (&rest ignore) |
| 830 | "Do nothing and return nil. | 842 | "Do nothing and return nil. |
| 831 | This function accepts any number of arguments, but ignores them." | 843 | This function accepts any number of arguments, but ignores them." |