]> code.delx.au - gnu-emacs/blobdiff - lisp/json.el
* net/tramp.el (tramp-read-passwd): Cached passwords shall still be used.
[gnu-emacs] / lisp / json.el
index 203ec596980def72a639ec0549c25740f3446c02..8dee2b24cacc2430817125693575034eead4223e 100644 (file)
@@ -1,6 +1,6 @@
 ;;; json.el --- JavaScript Object Notation parser / generator
 
-;; Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 ;; Author: Edward O'Connor <ted@oconnor.cx>
 ;; Version: 1.2
@@ -140,7 +140,7 @@ this around your call to `json-read' instead of `setq'ing it.")
 
 (defun json-skip-whitespace ()
   "Skip past the whitespace at point."
-  (skip-syntax-forward " "))
+  (skip-chars-forward "\t\r\n\f\b "))
 
 \f