]> code.delx.au - gnu-emacs/commitdiff
New category ` '.
authorKarl Heuer <kwzh@gnu.org>
Tue, 11 Nov 1997 03:24:18 +0000 (03:24 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 11 Nov 1997 03:24:18 +0000 (03:24 +0000)
Enable for non-breaking space in Latin-N.

lisp/international/characters.el

index 2527542e38266be09aaee30159e1386c63ae7a09..ab6bfec5f5815913995885b3e201c709bab9d49e 100644 (file)
@@ -79,6 +79,9 @@
 ;; For filling.
 (define-category ?| "While filling, we can break a line at this character.")
 
+;; For indentation calculation.
+(define-category ?\  "This character counts as a space for indentation purposes.")
+
 ;; Keep the followings for `kinsoku' processing.  See comments in
 ;; kinsoku.el.
 (define-category ?> "A character which can't be placed at beginning of line.")
 (modify-category-entry (make-char 'latin-iso8859-4) ?l)
 (modify-category-entry (make-char 'latin-iso8859-9) ?l)
 
+(modify-category-entry (make-char 'latin-iso8859-1 160) ?\ )
+(modify-category-entry (make-char 'latin-iso8859-2 160) ?\ )
+(modify-category-entry (make-char 'latin-iso8859-3 160) ?\ )
+(modify-category-entry (make-char 'latin-iso8859-4 160) ?\ )
+(modify-category-entry (make-char 'latin-iso8859-9 160) ?\ )
+
 ;; Greek character set (ISO-8859-7)
 
 (modify-category-entry (make-char 'greek-iso8859-7) ?g)