Fix: instead featurep used provide.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 28 Dec 2009 19:48:15 +0200
changeset 231 053a9e877724
parent 230 b34c94fa13d9
child 232 ea69943781db
Fix: instead featurep used provide.
.emacs-my
--- a/.emacs-my	Mon Dec 28 19:46:04 2009 +0200
+++ b/.emacs-my	Mon Dec 28 19:48:15 2009 +0200
@@ -907,7 +907,7 @@
 ;; ----------------------------------------------------------------------
 ;; bat file, batch
 
-(when (provide 'bat-mode)
+(when (featurep 'bat-mode)
   (progn
     (add-to-list 'auto-mode-alist '("\\.[bB][aA][tT]\\'" . bat-mode))
     (add-to-list 'auto-mode-alist '("\\.[cC][mM][dD]\\'" . bat-mode))