From: Richard M. Stallman Date: Mon, 30 Jul 2007 20:08:56 +0000 (+0000) Subject: (emacs-lisp-mode-syntax-table): Treat non-break space as whitespace in Lisp. X-Git-Tag: emacs-pretest-23.0.90~11641 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea2e3ef4a3ff47e1925e66ae53e63a0c705c022b;p=emacs.git (emacs-lisp-mode-syntax-table): Treat non-break space as whitespace in Lisp. --- diff --git a/etc/NEWS b/etc/NEWS index fd8127f3ba4..cf6019cbfd2 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -165,6 +165,8 @@ supported on other platforms, but not on Windows due to using the winsock * Lisp Changes in Emacs 23.1 +** Non-breaking space now acts as whitespace. + +++ ** In `condition-case', a handler can specify "let the debugger run first". diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 144023ea0d9..856d422e4ed 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-07-30 Richard Stallman + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): + Treat non-break space as whitespace in Lisp. + 2007-07-30 Stefan Monnier * 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 @@ (modify-syntax-entry i "_ " table) (setq i (1+ i))) (modify-syntax-entry ?\s " " table) + ;; Non-break space acts as whitespace. + (modify-syntax-entry ?\x8a0 " " table) (modify-syntax-entry ?\t " " table) (modify-syntax-entry ?\f " " table) (modify-syntax-entry ?\n "> " table)