changeset 106457:c15d1227e860

* progmodes/js.el (js--js-not): Add null to the list of values.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 06 Dec 2009 15:34:59 +0000
parents 80fcf69fbcec
children 3b1d7962549d
files lisp/ChangeLog lisp/progmodes/js.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Dec 06 15:33:09 2009 +0000
+++ b/lisp/ChangeLog	Sun Dec 06 15:34:59 2009 +0000
@@ -1,3 +1,7 @@
+2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
+
+	* progmodes/js.el (js--js-not): Add null to the list of values.
+
 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
 
 	* ansi-color.el (ansi-color-for-comint-mode): Add :version
--- a/lisp/progmodes/js.el	Sun Dec 06 15:33:09 2009 +0000
+++ b/lisp/progmodes/js.el	Sun Dec 06 15:34:59 2009 +0000
@@ -2603,7 +2603,7 @@
        js-js-timeout))))
 
 (defsubst js--js-not (value)
-  (memq value '(nil false undefined)))
+  (memq value '(nil null false undefined)))
 
 (defsubst js--js-true (value)
   (not (js--js-not value)))