[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 a9f8706: Fix completion of colon after CSS proper
From: |
Simen Heggestøyl |
Subject: |
[Emacs-diffs] emacs-26 a9f8706: Fix completion of colon after CSS property (Bug#29056) |
Date: |
Thu, 2 Nov 2017 15:40:04 -0400 (EDT) |
branch: emacs-26
commit a9f8706fa8fba5289e910fd55841b0952410d558
Author: Simen Heggestøyl <address@hidden>
Commit: Simen Heggestøyl <address@hidden>
Fix completion of colon after CSS property (Bug#29056)
* lisp/textmodes/css-mode.el (css-completion-at-point): Don't insert
": ;" after completing a CSS property unless the rest of the line is
empty.
---
lisp/textmodes/css-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 39885c1..1de4ff0 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -1375,6 +1375,7 @@ tags, classes and IDs."
:exit-function
,(lambda (string status)
(and (eq status 'finished)
+ (eolp)
prop-table
(test-completion string prop-table)
(not (and sel-table
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 a9f8706: Fix completion of colon after CSS property (Bug#29056),
Simen Heggestøyl <=