diff options
| author | Richard M. Stallman | 2007-07-30 20:08:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-07-30 20:08:56 +0000 |
| commit | ea2e3ef4a3ff47e1925e66ae53e63a0c705c022b (patch) | |
| tree | 735131e10e30c88fb0e1fcaf09c19f77a0abf2a4 | |
| parent | adef3de74046af51a8f17dff767ded2e5197f02a (diff) | |
| download | emacs-ea2e3ef4a3ff47e1925e66ae53e63a0c705c022b.tar.gz emacs-ea2e3ef4a3ff47e1925e66ae53e63a0c705c022b.zip | |
(emacs-lisp-mode-syntax-table): Treat non-break space as whitespace in Lisp.
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 2 |
3 files changed, 9 insertions, 0 deletions
| @@ -165,6 +165,8 @@ supported on other platforms, but not on Windows due to using the winsock | |||
| 165 | 165 | ||
| 166 | * Lisp Changes in Emacs 23.1 | 166 | * Lisp Changes in Emacs 23.1 |
| 167 | 167 | ||
| 168 | ** Non-breaking space now acts as whitespace. | ||
| 169 | |||
| 168 | +++ | 170 | +++ |
| 169 | ** In `condition-case', a handler can specify "let the debugger run first". | 171 | ** In `condition-case', a handler can specify "let the debugger run first". |
| 170 | 172 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 144023ea0d9..856d422e4ed 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-07-30 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): | ||
| 4 | Treat non-break space as whitespace in Lisp. | ||
| 5 | |||
| 1 | 2007-07-30 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2007-07-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * vc.el (vc-dired-hook): Use inhibit-read-only. | 8 | * vc.el (vc-dired-hook): Use inhibit-read-only. |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index d41c0af3d73..655677998e0 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -56,6 +56,8 @@ | |||
| 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) |