Mercurial > emacs
comparison lisp/emacs-lisp/lisp-mode.el @ 82216:86901570c4a7
(emacs-lisp-mode-syntax-table): Treat non-break space as whitespace in Lisp.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 30 Jul 2007 20:08:21 +0000 |
parents | 935157c0b596 |
children | 6499a8de7fcb 539530fa389c |
comparison
equal
deleted
inserted
replaced
82215:42532f799380 | 82216:86901570c4a7 |
---|---|
54 (setq i (1+ ?z)) | 54 (setq i (1+ ?z)) |
55 (while (< i 128) | 55 (while (< i 128) |
56 (modify-syntax-entry i "_ " table) | 56 (modify-syntax-entry i "_ " table) |
57 (setq i (1+ i))) | 57 (setq i (1+ i))) |
58 (modify-syntax-entry ?\s " " table) | 58 (modify-syntax-entry ?\s " " table) |
59 ;; Non-break space acts as whitespace. | |
60 (modify-syntax-entry ?\x8a0 " " table) | |
59 (modify-syntax-entry ?\t " " table) | 61 (modify-syntax-entry ?\t " " table) |
60 (modify-syntax-entry ?\f " " table) | 62 (modify-syntax-entry ?\f " " table) |
61 (modify-syntax-entry ?\n "> " table) | 63 (modify-syntax-entry ?\n "> " table) |
62 ;; This is probably obsolete since nowadays such features use overlays. | 64 ;; This is probably obsolete since nowadays such features use overlays. |
63 ;; ;; Give CR the same syntax as newline, for selective-display. | 65 ;; ;; Give CR the same syntax as newline, for selective-display. |