[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/css-mode.el, v [EMACS_22_B
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/css-mode.el, v [EMACS_22_BASE] |
Date: |
Tue, 23 Oct 2007 21:24:40 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Stefan Monnier <monnier> 07/10/23 21:24:39
Index: textmodes/css-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/css-mode.el,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -b -r1.1.2.4 -r1.1.2.5
--- textmodes/css-mode.el 18 Sep 2007 01:48:23 -0000 1.1.2.4
+++ textmodes/css-mode.el 23 Oct 2007 21:24:36 -0000 1.1.2.5
@@ -33,6 +33,8 @@
;;; 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")
@@ -270,6 +272,8 @@
(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))
@@ -286,7 +290,7 @@
;; 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/textmodes/css-mode.el, v [EMACS_22_BASE],
Stefan Monnier <=