summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/lisp-mode.el2
3 files changed, 9 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index fd8127f3ba4..cf6019cbfd2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -165,6 +165,8 @@ supported on other platforms, but not on Windows due to using the winsock
* 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".
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 144023ea0d9..856d422e4ed 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index d41c0af3d73..655677998e0 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -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)