comparison lisp/disp-table.el @ 104698:8d9497f0afc1

* NEWS: Declare unibyte sessions obsolete. * emacs.c (USAGE1): Remove --(no-)multibyte, --(no-)unibyte. (main): Use enable-multibyte-characters rather than default-enable-multibyte-characters. Output a warning message when running a unibyte session. * mule.texi (Enabling Multibyte): * cmdargs.texi (General Variables): Remove EMACS_UNIBYTE. (Initial Options): Remove --(no-)multibyte, --(no-)unibyte.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 29 Aug 2009 02:25:03 +0000
parents a9dc0e7c3f2b
children 009383a57ce8
comparison
equal deleted inserted replaced
104697:89cb3b38143d 104698:8d9497f0afc1
214 214
215 ;;;###autoload 215 ;;;###autoload
216 (defun standard-display-european (arg) 216 (defun standard-display-european (arg)
217 "Semi-obsolete way to toggle display of ISO 8859 European characters. 217 "Semi-obsolete way to toggle display of ISO 8859 European characters.
218 218
219 This function is semi-obsolete; if you want to do your editing with 219 This function is semi-obsolete; you probably don't need it, or else you
220 unibyte characters, it is better to `set-language-environment' coupled 220 probably should use `set-language-environment' or `set-locale-environment'.
221 with either the `--unibyte' option or the EMACS_UNIBYTE environment 221
222 variable, or else customize `enable-multibyte-characters'. 222 This function enables European character display if ARG is positive,
223 223 disables it if negative. Otherwise, it toggles European character display.
224 With prefix argument, this command enables European character display
225 if ARG is positive, disables it otherwise. Otherwise, it toggles
226 European character display.
227 224
228 When this mode is enabled, characters in the range of 160 to 255 225 When this mode is enabled, characters in the range of 160 to 255
229 display not as octal escapes, but as accented characters. Codes 146 226 display not as octal escapes, but as accented characters. Codes 146
230 and 160 display as apostrophe and space, even though they are not the 227 and 160 display as apostrophe and space, even though they are not the
231 ASCII codes for apostrophe and space. 228 ASCII codes for apostrophe and space.
232 229
233 Enabling European character display with this command noninteractively 230 Enabling European character display with this command noninteractively
234 from Lisp code also selects Latin-1 as the language environment, and 231 from Lisp code also selects Latin-1 as the language environment.
235 selects unibyte mode for all Emacs buffers \(both existing buffers and 232 This provides increased compatibility for users who call this function
236 those created subsequently). This provides increased compatibility 233 in `.emacs'."
237 for users who call this function in `.emacs'."
238 234
239 (if (or (<= (prefix-numeric-value arg) 0) 235 (if (or (<= (prefix-numeric-value arg) 0)
240 (and (null arg) 236 (and (null arg)
241 (char-table-p standard-display-table) 237 (char-table-p standard-display-table)
242 ;; Test 161, because 160 displays as a space. 238 ;; Test 161, because 160 displays as a space.