]> git.eshelyaron.com Git - emacs.git/commitdiff
* progmodes/js.el (js--js-not): Add null to the list of values.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 6 Dec 2009 15:34:59 +0000 (15:34 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 6 Dec 2009 15:34:59 +0000 (15:34 +0000)
lisp/ChangeLog
lisp/progmodes/js.el

index ec7a3e252351c8763a8108458ca408bad7e9af20..aaa1a4b861e8046010e43826ee79a4785f073911 100644 (file)
@@ -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
index 96b49499f4f3bfddcd6f4a660b575ca54edb5673..cba315ac2d48fb63f9be11becc12ef7898085a40 100644 (file)
@@ -2603,7 +2603,7 @@ with `js--js-encode-value'."
        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)))