summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-07-30 20:08:56 +0000
committerRichard M. Stallman <rms@gnu.org>2007-07-30 20:08:56 +0000
commitea2e3ef4a3ff47e1925e66ae53e63a0c705c022b (patch)
tree735131e10e30c88fb0e1fcaf09c19f77a0abf2a4 /lisp/emacs-lisp
parentadef3de74046af51a8f17dff767ded2e5197f02a (diff)
downloademacs-ea2e3ef4a3ff47e1925e66ae53e63a0c705c022b.tar.gz
emacs-ea2e3ef4a3ff47e1925e66ae53e63a0c705c022b.tar.bz2
emacs-ea2e3ef4a3ff47e1925e66ae53e63a0c705c022b.zip
(emacs-lisp-mode-syntax-table): Treat non-break space as whitespace in Lisp.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/lisp-mode.el2
1 files changed, 2 insertions, 0 deletions
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)