summaryrefslogtreecommitdiff
path: root/lisp/international/characters.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2005-04-21 05:57:27 +0000
committerKenichi Handa <handa@m17n.org>2005-04-21 05:57:27 +0000
commitdb92e81ec1e176c3bd2bc58bf6d6a33d3df5c07b (patch)
treefd8e7d0d30ae64927f39d95b9e66bea9b577b693 /lisp/international/characters.el
parentdb349d6cd28f82cf091e8d047300b817739d7713 (diff)
downloademacs-db92e81ec1e176c3bd2bc58bf6d6a33d3df5c07b.tar.gz
emacs-db92e81ec1e176c3bd2bc58bf6d6a33d3df5c07b.tar.bz2
emacs-db92e81ec1e176c3bd2bc58bf6d6a33d3df5c07b.zip
Set syntax of NBSP to punctuation.
Diffstat (limited to 'lisp/international/characters.el')
-rw-r--r--lisp/international/characters.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index 3fc12306a30..a8eeb2e4859 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -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)