(TopLevel): Bind keywords `:user', `:path' and `:predicate' for old Emacsen;
authoryamaoka <yamaoka>
Wed, 22 Sep 1999 10:15:21 +0000 (10:15 +0000)
committeryamaoka <yamaoka>
Wed, 22 Sep 1999 10:15:21 +0000 (10:15 +0000)
require `static'.

lisp/nnmail.el

index 33d120a..2d6a503 100644 (file)
   (autoload 'gnus-error "gnus-util")
   (autoload 'gnus-buffer-live-p "gnus-util"))
 
+(eval-when-compile (require 'static))
+
+(static-condition-case nil
+    :symbol-for-testing-whether-colon-keyword-is-available-or-not
+  (void-variable
+   (defconst :user ':user)
+   (defconst :path ':path)
+   (defconst :predicate ':predicate)))
+
 (defgroup nnmail nil
   "Reading mail with Gnus."
   :group 'gnus)