]> git.eshelyaron.com Git - emacs.git/commitdiff
(emacs-lisp-mode-syntax-table): Treat non-break space as whitespace in Lisp.
authorRichard M. Stallman <rms@gnu.org>
Mon, 30 Jul 2007 20:08:56 +0000 (20:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 30 Jul 2007 20:08:56 +0000 (20:08 +0000)
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/lisp-mode.el

index fd8127f3ba4bb0cc2e149b28ea916a04602965ae..cf6019cbfd238b04006c1dc2b8162833875d5def 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -165,6 +165,8 @@ supported on other platforms, but not on Windows due to using the winsock
 \f
 * Lisp Changes in Emacs 23.1
 
+** Non-breaking space now acts as whitespace.
+
 +++
 ** In `condition-case', a handler can specify "let the debugger run first".
 
index 144023ea0d9e284aff888707870057a40e94f653..856d422e4edcd58ba3aa055a29372673e7212b03 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-30  Richard Stallman  <rms@gnu.org>
+
+       * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
+       Treat non-break space as whitespace in Lisp.
+
 2007-07-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * vc.el (vc-dired-hook): Use inhibit-read-only.
index d41c0af3d730b642286dbd99ac965b11ea6e5d6e..655677998e062eca7c1c80c622473f6b5cd97883 100644 (file)
@@ -56,6 +56,8 @@
        (modify-syntax-entry i "_   " table)
        (setq i (1+ i)))
       (modify-syntax-entry ?\s "    " table)
+      ;; Non-break space acts as whitespace.
+      (modify-syntax-entry ?\x8a0 "    " table)
       (modify-syntax-entry ?\t "    " table)
       (modify-syntax-entry ?\f "    " table)
       (modify-syntax-entry ?\n ">   " table)