diff options
author | smihica <smihica@gmail.com> | 2013-04-03 00:43:18 +0900 |
---|---|---|
committer | smihica <smihica@gmail.com> | 2013-04-03 00:43:18 +0900 |
commit | c7a319e084abf226669e2430c3a6520500e1c7cb (patch) | |
tree | 751b63fd409367dff9b2fbd969b5825ded2c3535 | |
parent | e353327def110e43716be349c9cf79420a985ca5 (diff) | |
download | emmet-mode-c7a319e084abf226669e2430c3a6520500e1c7cb.tar.lz emmet-mode-c7a319e084abf226669e2430c3a6520500e1c7cb.tar.xz emmet-mode-c7a319e084abf226669e2430c3a6520500e1c7cb.zip |
Fixed a bug that trailing '+' pattern (e.g. 'bg+') is not working adequately.
-rw-r--r-- | src/css-abbrev.el | 2 | ||||
-rw-r--r-- | zencoding-mode.el | 2 |
2 files changed, 2 insertions, 2 deletions
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))) diff --git a/zencoding-mode.el b/zencoding-mode.el index 98c9cee..9958cbb 100644 --- a/zencoding-mode.el +++ b/zencoding-mode.el @@ -1606,7 +1606,7 @@ tbl)) (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))) |