Permalink
Browse files

One definition of css-at-string-p is enough (thanks Stan)

  • Loading branch information...
1 parent 25397df commit 23d2fac7c9023f3f430f08e5cf72950db4350cb7 Niels Giesen committed Apr 1, 2010
Showing with 1 addition and 4 deletions.
  1. +1 −4 css-complete.el
View
@@ -498,7 +498,7 @@
(insert newval))))
(defun css-at-string-p ()
- (member 'font-lock-string-face (text-properties-at (point))))
+ (nth 3 (syntax-ppss)))
(defun css-at-filename-p ()
(css-at-string-p))
@@ -509,9 +509,6 @@
(defun css-at-comment-p ()
(nth 4 (syntax-ppss)))
-(defun css-at-string-p ()
- (nth 3 (syntax-ppss)))
-
(defun css-after-at-p ()
(looking-back "@\\(?:charset\\|font-face\\|import\\|media\\|page\\)[[:space:]]+"))

0 comments on commit 23d2fac

Please sign in to comment.