bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20267: 24.4; [PATCH] textmodes/css-mode.el: Add "not" pseudo-class


From: Simen Heggestøyl
Subject: bug#20267: 24.4; [PATCH] textmodes/css-mode.el: Add "not" pseudo-class
Date: Mon, 06 Apr 2015 23:19:14 +0200

The following patch adds "not" to the list of CSS pseudo-classes.

By the way, for the future, is it OK for me to install such trivial
changes without putting them up for review first?

-- Simen


From dec8e9b8f3eb23698aa774c54ab9b31f9314053a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= <simenheg@gmail.com>
Date: Mon, 6 Apr 2015 21:38:27 +0200
Subject: [PATCH] textmodes/css-mode.el: Add "not" pseudo-class

* textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to list
of CSS pseudo-classes.
---
 lisp/ChangeLog             | 5 +++++
 lisp/textmodes/css-mode.el | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 94b4be7..a9f507b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-06  Simen Heggestøyl  <simenheg@gmail.com>
+
+ * textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to list
+ of CSS pseudo-classes.
+
 2015-04-06  Paul Eggert  <eggert@cs.ucla.edu>
 
  Spelling fix for 'hfy-optimizations'
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 7280080..8b2ee73 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -41,7 +41,7 @@
 (defconst css-pseudo-class-ids
   '("active" "checked" "disabled" "empty" "enabled" "first"
     "first-child" "first-of-type" "focus" "hover" "indeterminate" "lang"
-    "last-child" "last-of-type" "left" "link" "nth-child"
+    "last-child" "last-of-type" "left" "link" "not" "nth-child"
     "nth-last-child" "nth-last-of-type" "nth-of-type" "only-child"
     "only-of-type" "right" "root" "target" "visited")
   "Identifiers for pseudo-classes.")
-- 
2.1.4

reply via email to

[Prev in Thread] Current Thread [Next in Thread]