changeset 90146:a4445dd2a017

Set syntax of NBSP to punctuation.
author Kenichi Handa <handa@m17n.org>
date Thu, 21 Apr 2005 05:57:27 +0000
parents 53b4e79584dd
children e1fbb019c538
files lisp/international/characters.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/characters.el	Mon Apr 18 06:58:37 2005 +0000
+++ b/lisp/international/characters.el	Thu Apr 21 05:57:27 2005 +0000
@@ -441,7 +441,10 @@
   ;; reviewed.  (Note that the following all implicitly have word
   ;; syntax: ¢£¤¥¨ª¯²³´¶¸¹º.)  There should be a well-defined way of
   ;; relating Unicode categories to Emacs syntax codes.
-  (set-case-syntax ?  " " tbl)		; dubious
+
+  ;; NBSP isn't semantically interchangeable with other whitespace chars,
+  ;; so it's more like punctation.
+  (set-case-syntax ?  "." tbl)
   (set-case-syntax ?¡ "." tbl)
   (set-case-syntax ?¦ "_" tbl)
   (set-case-syntax ?§ "." tbl)