From: Glenn Morris Date: Thu, 29 Nov 2007 04:30:58 +0000 (+0000) Subject: (prog-mode): Remove. X-Git-Tag: emacs-pretest-23.0.90~9257 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f6d833159f582b2773cbe25681377b2702f05a9;p=emacs.git (prog-mode): Remove. (css-mode): Derive from fundamental-mode rather than prog-mode. --- diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 8660f75fa95..83af2156831 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -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) "/*")