diff lisp/international/characters.el @ 90146:a4445dd2a017

Set syntax of NBSP to punctuation.
author Kenichi Handa <handa@m17n.org>
date Thu, 21 Apr 2005 05:57:27 +0000
parents be0153d5e3f8
children f042e7c0fe20
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)