[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23458: [PATCH] Support completion of HTML tags in CSS selectors
From: |
Stefan Monnier |
Subject: |
bug#23458: [PATCH] Support completion of HTML tags in CSS selectors |
Date: |
Thu, 05 May 2016 11:02:28 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> @@ -747,7 +749,7 @@ css--complete-property
> (let ((start (point)))
> (skip-chars-backward " \t\r\n")
> (when (memq (char-before) '(?\{ ?\;))
> - (list start pos css-property-ids))))))
> + (list start pos css-property-ids :exclusive 'no))))))
>
> (defun css--complete-bang-rule ()
> "Complete bang-rule at point."
It'd be better to avoid the :exclusive thingy, and use something like
completion-table-merge instead.
:exclusive basically prevents any completion style other than prefix
completion, so it's better avoid it when possible. This said, it's not
a real objection.
Stefan