From c7a319e084abf226669e2430c3a6520500e1c7cb Mon Sep 17 00:00:00 2001 From: smihica Date: Wed, 3 Apr 2013 00:43:18 +0900 Subject: Fixed a bug that trailing '+' pattern (e.g. 'bg+') is not working adequately. --- src/css-abbrev.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/css-abbrev.el b/src/css-abbrev.el index 00c182f..3c528e8 100644 --- a/src/css-abbrev.el +++ b/src/css-abbrev.el @@ -65,7 +65,7 @@ (let ((f (first i)) (s (second i))) (if f - (if (and s (or (eql s "") (string-match "^[#0-9$-]" s))) + (if (and s (or (string= s "") (string-match "^[#0-9$-]" s))) (progn (setf rt (cons (concat f "+" s) rt)) (setf i (cddr i))) -- cgit v1.2.3