From 5f6d833159f582b2773cbe25681377b2702f05a9 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 29 Nov 2007 04:30:58 +0000 Subject: [PATCH] (prog-mode): Remove. (css-mode): Derive from fundamental-mode rather than prog-mode. --- lisp/textmodes/css-mode.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) "/*") -- 2.39.2