2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
+ * textmodes/css-mode.el: Require CL.
+ (comment-continue): Declare.
+
* subr.el (make-variable-frame-localizable): Remove.
(make-variable-frame-local): Mark obsolete.
;;; Code:
+(eval-when-compile (require 'cl))
+
(defun css-extract-keyword-list (res)
(with-temp-buffer
(url-insert-file-contents "http://www.w3.org/TR/REC-CSS2/css2.txt")
(aset fc c 'indent-according-to-mode))
(set (make-local-variable 'auto-fill-chars) fc))))
+(defvar comment-continue)
+
(defun css-fill-paragraph (&optional justify)
(save-excursion
(let ((ppss (syntax-ppss))
;; css-mode but for all modes.
(save-restriction
(narrow-to-region (nth 8 ppss) eol)
- (comment-normalize-vars)
+ (comment-normalize-vars) ;Will define comment-continue.
(let ((fill-paragraph-function nil)
(paragraph-separate
(if (and comment-continue