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

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> gmail.com>

Date: Mon, 6 Apr 2015 21:20:02 UTC

Severity: minor

Tags: patch

Found in version 24.4

Done: Simen Heggestøyl <simenheg <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: 20267 <at> debbugs.gnu.org
Subject: bug#20267: 24.4; [PATCH] textmodes/css-mode.el: Add "not" pseudo-class
Date: Mon, 06 Apr 2015 23:19:14 +0200
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> gmail.com>
+
+	* textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to list
+	of CSS pseudo-classes.
+
2015-04-06  Paul Eggert  <eggert <at> 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
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.