diff options
author | Miles Bader <miles@gnu.org> | 2007-10-27 09:12:07 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-10-27 09:12:07 +0000 |
commit | 18cd1f1a08833b0baad21c1d7b13a6845d95cf57 (patch) | |
tree | 03f33df7513d15bd5de0348aec35ef82bd061508 /lisp/textmodes/css-mode.el | |
parent | 74863e7a78b1c8da1094a8250660a009c3b23015 (diff) | |
parent | fdc9061358d3654e14bfc1419632e1d6c6c5c13e (diff) | |
download | emacs-18cd1f1a08833b0baad21c1d7b13a6845d95cf57.tar.gz |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 902-908)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 131-137)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 261-262)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
Diffstat (limited to 'lisp/textmodes/css-mode.el')
-rw-r--r-- | lisp/textmodes/css-mode.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 079c362b504..8660f75fa95 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -37,6 +37,8 @@ "Cascading Style Sheets (CSS) editing mode." :group 'languages) +(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") @@ -277,6 +279,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)) @@ -293,7 +297,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 |