Mercurial > emacs
comparison lisp/disp-table.el @ 3061:1e0f5fb4fcf1
* disp-table.el (standard-display-european): Doc fix. Make
this autoload. Make it respond to prefix arg like a minor mode.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 25 May 1993 06:21:35 +0000 |
parents | 8bf84289be17 |
children | 35e9402cb6bf |
comparison
equal
deleted
inserted
replaced
3060:6bb1c8f853cb | 3061:1e0f5fb4fcf1 |
---|---|
119 (if (= (length glyph-table) 65536) | 119 (if (= (length glyph-table) 65536) |
120 (error "No free glyph codes remain")) | 120 (error "No free glyph codes remain")) |
121 (setq glyph-table (vconcat glyph-table (list string))) | 121 (setq glyph-table (vconcat glyph-table (list string))) |
122 (1- (length glyph-table))) | 122 (1- (length glyph-table))) |
123 | 123 |
124 ;;;###autoload | |
124 (defun standard-display-european (arg) | 125 (defun standard-display-european (arg) |
125 "Arrange to display European characters encoded with ISO 8859. | 126 "Toggle display of European characters encoded with ISO 8859. |
126 This means that characters in the range of 160 to 255 display not | 127 When enabled, characters in the range of 160 to 255 display not |
127 as octal escapes, but as accented characters." | 128 as octal escapes, but as accented characters. |
129 With prefix argument, enable European character display iff arg is positive." | |
128 (interactive "P") | 130 (interactive "P") |
129 (if arg (standard-display-default 160 255) | 131 (if (or (< (prefix-numeric-value arg) 0) |
132 (and (null arg) | |
133 (vectorp standard-display-table) | |
134 (>= (length standard-display-table) 161) | |
135 (equal (aref standard-display-table 160) [160]))) | |
136 (standard-display-default 160 255) | |
130 (standard-display-8bit 160 255))) | 137 (standard-display-8bit 160 255))) |
131 | |
132 | 138 |
133 (provide 'disp-table) | 139 (provide 'disp-table) |
134 | 140 |
135 ;;; disp-table.el ends here | 141 ;;; disp-table.el ends here |