changeset 86820:3565c4272a41

(prog-mode): Remove. (css-mode): Derive from fundamental-mode rather than prog-mode.
author Glenn Morris <rgm@gnu.org>
date Thu, 29 Nov 2007 04:30:58 +0000
parents 6ee7c280d828
children 7193e8ecbb2e
files lisp/textmodes/css-mode.el
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/css-mode.el	Thu Nov 29 04:30:11 2007 +0000
+++ b/lisp/textmodes/css-mode.el	Thu Nov 29 04:30:58 2007 +0000
@@ -256,11 +256,9 @@
 (defvar css-font-lock-defaults
   '(css-font-lock-keywords nil t))
 
-(unless (fboundp 'prog-mode) (defalias 'prog-mode 'fundamental-mode))
-
 ;;;###autoload (add-to-list 'auto-mode-alist '("\\.css\\'" . css-mode))
 ;;;###autoload
-(define-derived-mode css-mode prog-mode "CSS"
+(define-derived-mode css-mode fundamental-mode "CSS"
   "Major mode to edit Cascading Style Sheets."
   (set (make-local-variable 'font-lock-defaults) css-font-lock-defaults)
   (set (make-local-variable 'comment-start) "/*")