unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20267: 24.4; [PATCH] textmodes/css-mode.el: Add "not" pseudo-class
@ 2015-04-06 21:19 Simen Heggestøyl
  2015-04-08  1:59 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Simen Heggestøyl @ 2015-04-06 21:19 UTC (permalink / raw)
  To: 20267

[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2541 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#20267: 24.4; [PATCH] textmodes/css-mode.el: Add "not" pseudo-class
  2015-04-06 21:19 bug#20267: 24.4; [PATCH] textmodes/css-mode.el: Add "not" pseudo-class Simen Heggestøyl
@ 2015-04-08  1:59 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-04-08  1:59 UTC (permalink / raw)
  To: Simen Heggestøyl; +Cc: 20267

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

Good, thanks.

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

Yes.


        Stefan





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-08  1:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06 21:19 bug#20267: 24.4; [PATCH] textmodes/css-mode.el: Add "not" pseudo-class Simen Heggestøyl
2015-04-08  1:59 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).