unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Simen Heggestøyl" <simenheg@gmail.com>
To: 20267@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	[thread overview]
Message-ID: <1428355154.3563.0@smtp.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2015-04-06 21:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-06 21:19 Simen Heggestøyl [this message]
2015-04-08  1:59 ` bug#20267: 24.4; [PATCH] textmodes/css-mode.el: Add "not" pseudo-class Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428355154.3563.0@smtp.gmail.com \
    --to=simenheg@gmail.com \
    --cc=20267@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).