summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)