4
|
1 ;;; iso-acc.el --- minor mode providing electric accent keys
|
|
2
|
|
3 ;; Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
|
|
4
|
|
5 ;; Author: Johan Vromans <jv@mh.nl>
|
88
|
6 ;; Version: 1.8
|
70
|
7 ;; Maintainer: FSF
|
4
|
8 ;; Keywords: i18n
|
88
|
9 ;; Adapted to XEmacs 19.14 by Alexandre Oliva <oliva@dcc.unicamp.br>
|
|
10 ;; Last update: Jan 25, 1997
|
4
|
11
|
|
12 ;; This file is part of GNU Emacs.
|
|
13
|
|
14 ;; GNU Emacs is free software; you can redistribute it and/or modify
|
|
15 ;; it under the terms of the GNU General Public License as published by
|
|
16 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
17 ;; any later version.
|
|
18
|
|
19 ;; GNU Emacs is distributed in the hope that it will be useful,
|
|
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
22 ;; GNU General Public License for more details.
|
|
23
|
|
24 ;; You should have received a copy of the GNU General Public License
|
|
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
|
|
26 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
27 ;; Boston, MA 02111-1307, USA.
|
|
28
|
|
29 ;;; Commentary:
|
|
30
|
|
31 ;; Function `iso-accents-mode' activates a minor mode in which
|
|
32 ;; typewriter "dead keys" are emulated. The purpose of this emulation
|
|
33 ;; is to provide a simple means for inserting accented characters
|
|
34 ;; according to the ISO-8859-1 character set.
|
|
35 ;;
|
|
36 ;; In `iso-accents-mode', pseudo accent characters are used to
|
|
37 ;; introduce accented keys. The pseudo-accent characters are:
|
|
38 ;;
|
|
39 ;; ' (minute) -> grave accent
|
|
40 ;; ` (backtick) -> acute accent
|
|
41 ;; " (second) -> diaeresis
|
|
42 ;; ^ (caret) -> circumflex
|
|
43 ;; ~ (tilde) -> tilde over the character
|
70
|
44 ;; / (slash) -> slash through the character.
|
|
45 ;; , (cedilla) -> cedilla under the character (except on default mode).
|
|
46 ;; Also: /A is A-with-ring and /E is AE ligature.
|
4
|
47 ;;
|
|
48 ;; The action taken depends on the key that follows the pseudo accent.
|
|
49 ;; In general:
|
|
50 ;;
|
|
51 ;; pseudo-accent + appropriate letter -> accented letter
|
70
|
52 ;; pseudo-accent + space -> pseudo-accent (except for comma)
|
4
|
53 ;; pseudo-accent + pseudo-accent -> accent (if available)
|
|
54 ;; pseudo-accent + other -> pseudo-accent + other
|
|
55 ;;
|
|
56 ;; If the pseudo-accent is followed by anything else than a
|
|
57 ;; self-insert-command, the dead-key code is terminated, the
|
|
58 ;; pseudo-accent inserted 'as is' and the bell is rung to signal this.
|
|
59 ;;
|
|
60 ;; Function `iso-accents-mode' can be used to enable the iso accents
|
|
61 ;; minor mode, or disable it.
|
|
62
|
|
63 ;; If you want only some of these characters to serve as accents,
|
|
64 ;; add a language to `iso-languages' which specifies the accent characters
|
|
65 ;; that you want, then select the language with `iso-accents-customize'.
|
|
66
|
|
67 ;;; Code:
|
|
68
|
|
69 (provide 'iso-acc)
|
|
70
|
|
71 ;; needed for compatibility with XEmacs 19.14
|
|
72 (if (fboundp 'read-event) ()
|
|
73 (defun read-event () (event-key (next-command-event))))
|
|
74
|
70
|
75 ;; needed to work on GNU Emacs (had to use this function on XEmacs)
|
|
76 (if (fboundp 'character-to-event) ()
|
88
|
77 (defun character-to-event (ch &optional event console meta)
|
|
78 (if (listp ch) (car ch) ch)))
|
4
|
79
|
|
80 ;; needed for compatibility with XEmacs 19.14 and GNU Emacs 19.30
|
|
81 (if (fboundp 'this-single-command-keys) ()
|
|
82 (if (string-match "Lucid" (version))
|
|
83 (defun this-single-command-keys ()
|
|
84 (setq this-command (not (this-command-keys)))
|
|
85 (this-command-keys))
|
|
86 (defun this-single-command-keys () (this-command-keys))))
|
|
87
|
|
88 (defvar iso-languages
|
|
89 '(("portuguese"
|
|
90 (?' (?A . ?\301) (?E . ?\311) (?I . ?\315) (?O . ?\323) (?U . ?\332)
|
|
91 (?C . ?\307) (?a . ?\341) (?e . ?\351) (?i . ?\355) (?o . ?\363)
|
|
92 (?u . ?\372) (?c . ?\347) (?\ . ?') (space . ?'))
|
|
93 (?` (?A . ?\300) (?a . ?\340) (?\ . ?`) (space . ?`))
|
|
94 (?^ (?A . ?\302) (?E . ?\312) (?O . ?\324) (?a . ?\342) (?e . ?\352)
|
|
95 (?o . ?\364) (?\ . ?^) (space . ?^))
|
|
96 (?\" (?U . ?\334) (?u . ?\374) (?\ . ?\") (space . ?\"))
|
70
|
97 (?\~ (?A . ?\303) (?O . ?\325) (?a . ?\343) (?o . ?\365) (?\ . ?\~) (space . ?\~))
|
4
|
98 (?, (?c . ?\347) (?C . ?\307)))
|
|
99
|
|
100 ("irish"
|
|
101 (?' (?A . ?\301) (?E . ?\311) (?I . ?\315) (?O . ?\323) (?U . ?\332)
|
|
102 (?a . ?\341) (?e . ?\351) (?i . ?\355) (?o . ?\363) (?u . ?\372)
|
|
103 (?\ . ?') (space . ?')))
|
|
104
|
|
105 ("french"
|
70
|
106 (?' (?A . ?\301) (?E . ?\311) (?I . ?\315) (?O . ?\323) (?U . ?\332)
|
|
107 (?C . ?\307) (?a . ?\341) (?e . ?\351) (?i . ?\355) (?o . ?\363)
|
|
108 (?u . ?\372) (?c . ?\347) (?\ . ?') (space . ?'))
|
|
109 (?` (?A . ?\300) (?E . ?\310) (?a . ?\340) (?e . ?\350) (?\ . ?`) (space . ?`))
|
4
|
110 (?^ (?A . ?\302) (?E . ?\312) (?I . ?\316) (?O . ?\324) (?U . ?\333)
|
|
111 (?a . ?\342) (?e . ?\352) (?i . ?\356) (?o . ?\364) (?u . ?\373)
|
|
112 (?\ . ?^) (space . ?^))
|
70
|
113 (?\" (?U . ?\334) (?u . ?\374) (?\ . ?\") (space . ?\"))
|
|
114 (?\~ (?A . ?\303) (?O . ?\325) (?a . ?\343) (?o . ?\365) (?\ . ?\~) (space . ?\~))
|
4
|
115 (?, (?c . ?\347) (?C . ?\307)))
|
|
116
|
|
117 ("latin-2"
|
|
118 (?' (?A . ?\301) (?C . ?\306) (?D . ?\320) (?E . ?\311) (?I . ?\315)
|
|
119 (?L . ?\305) (?N . ?\321) (?O . ?\323) (?R . ?\300) (?S . ?\246)
|
|
120 (?U . ?\332) (?Y . ?\335) (?Z . ?\254) (?a . ?\341) (?c . ?\346)
|
|
121 (?d . ?\360) (?e . ?\351) (?i . ?\355) (?l . ?\345) (?n . ?\361)
|
|
122 (?o . ?\363) (?r . ?\340) (?s . ?\266) (?u . ?\372) (?y . ?\375)
|
|
123 (?z . ?\274) (?' . ?\264) (?\ . ?') (space . ?'))
|
|
124 (?` (?A . ?\241) (?C . ?\307) (?E . ?\312) (?L . ?\243) (?S . ?\252)
|
|
125 (?T . ?\336) (?Z . ?\257) (?a . ?\261) (?l . ?\263) (?c . ?\347)
|
|
126 (?e . ?\352) (?s . ?\272) (?t . ?\376) (?z . ?\277) (?` . ?\252)
|
|
127 (?. . ?\377) (?\ . ?`) (space . ?`))
|
|
128 (?^ (?A . ?\302) (?O . ?\324) (?a . ?\342) (?o . ?\364)
|
|
129 (?^ . ?^) ; no special code?
|
|
130 (?\ . ?^) (space . ?^))
|
|
131 (?\" (?A . ?\304) (?E . ?\313) (?O . ?\326) (?U . ?\334) (?a . ?\344)
|
|
132 (?e . ?\353) (?o . ?\366) (?s . ?\337) (?u . ?\374) (?\" . ?\250)
|
|
133 (?\ . ?\") (space . ?\"))
|
|
134 (?\~ (?A . ?\303) (?C . ?\310) (?D . ?\317) (?L . ?\245) (?N . ?\322)
|
|
135 (?O . ?\325) (?R . ?\330) (?S . ?\251) (?T . ?\253) (?U . ?\333)
|
|
136 (?Z . ?\256) (?a . ?\323) (?c . ?\350) (?d . ?\357) (?l . ?\265)
|
|
137 (?n . ?\362) (?o . ?\365) (?r . ?\370) (?s . ?\271) (?t . ?\273)
|
|
138 (?u . ?\373) (?z . ?\276)
|
|
139 (?v . ?\242) ; v accent
|
|
140 (?\~ . ?\242) ; v accent
|
|
141 (?\. . ?\270) ; cedilla accent
|
|
142 (?\ . ?\~) (space . ?\~)))
|
|
143
|
|
144 ("latin-1"
|
|
145 (?' (?A . ?\301) (?E . ?\311) (?I . ?\315) (?O . ?\323) (?U . ?\332)
|
|
146 (?Y . ?\335) (?a . ?\341) (?e . ?\351) (?i . ?\355) (?o . ?\363)
|
|
147 (?u . ?\372) (?y . ?\375) (?' . ?\264) (?\ . ?') (space . ?'))
|
|
148 (?` (?A . ?\300) (?E . ?\310) (?I . ?\314) (?O . ?\322) (?U . ?\331)
|
|
149 (?a . ?\340) (?e . ?\350) (?i . ?\354) (?o . ?\362) (?u . ?\371)
|
|
150 (?` . ?`) (?\ . ?`) (space . ?`))
|
|
151 (?^ (?A . ?\302) (?E . ?\312) (?I . ?\316) (?O . ?\324) (?U . ?\333)
|
|
152 (?a . ?\342) (?e . ?\352) (?i . ?\356) (?o . ?\364) (?u . ?\373)
|
|
153 (?^ . ?^) (?\ . ?^) (space . ?^))
|
|
154 (?\" (?A . ?\304) (?E . ?\313) (?I . ?\317) (?O . ?\326) (?U . ?\334)
|
|
155 (?a . ?\344) (?e . ?\353) (?i . ?\357) (?o . ?\366) (?s . ?\337)
|
|
156 (?u . ?\374) (?y . ?\377) (?\" . ?\250) (?\ . ?\") (space . ?\"))
|
|
157 (?\~ (?A . ?\303) (?C . ?\307) (?D . ?\320) (?N . ?\321) (?O . ?\325)
|
|
158 (?T . ?\336) (?a . ?\343) (?c . ?\347) (?d . ?\360) (?n . ?\361)
|
|
159 (?o . ?\365) (?t . ?\376) (?> . ?\273) (?< . ?\253) (?\~ . ?\270)
|
|
160 (?! . ?\241) (?? . ?\277)
|
|
161 (?\ . ?\~) (space . ?\~))
|
|
162 (?\/ (?A . ?\305) (?E . ?\306) (?O . ?\330) (?a . ?\345) (?e . ?\346)
|
|
163 (?o . ?\370) (?\/ . ?\260) (?\ . ?\/) (space . ?\/))))
|
|
164 "List of language-specific customizations for the ISO Accents mode.
|
|
165
|
|
166 Each element of the list is of the form
|
|
167
|
|
168 (LANGUAGE
|
|
169 (PSEUDO-ACCENT MAPPINGS)
|
|
170 (PSEUDO-ACCENT MAPPINGS)
|
|
171 ...)
|
|
172
|
|
173 LANGUAGE is a string naming the language.
|
|
174 PSEUDO-ACCENT is a char specifying an accent key.
|
|
175 MAPPINGS are cons cells of the form (CHAR . ISO-CHAR).
|
|
176
|
|
177 The net effect is that the key sequence PSEUDO-ACCENT CHAR is mapped
|
|
178 to ISO-CHAR on input.")
|
|
179
|
|
180 (defvar iso-language nil
|
|
181 "Language for which ISO Accents mode is currently customized.
|
|
182 Change it with the `iso-accents-customize' function.")
|
|
183
|
|
184 (defvar iso-accents-list nil
|
|
185 "Association list for ISO accent combinations, for the chosen language.")
|
|
186
|
|
187 (defvar iso-accents-mode nil
|
|
188 "*Non-nil enables ISO Accents mode.
|
|
189 Setting this variable makes it local to the current buffer.
|
|
190 See the function `iso-accents-mode'.")
|
|
191 (make-variable-buffer-local 'iso-accents-mode)
|
|
192
|
70
|
193 (defvar iso-accents-enable '(?' ?` ?^ ?\" ?~ ?/ ?,)
|
4
|
194 "*List of accent keys that become prefixes in ISO Accents mode.
|
70
|
195 The default is (?' ?` ?^ ?\" ?~ ?/ ?,), which contains all the supported
|
4
|
196 accent keys. If you set this variable to a list in which some of those
|
|
197 characters are missing, the missing ones do not act as accents.
|
|
198
|
|
199 Note that if you specify a language with `iso-accents-customize',
|
|
200 that can also turn off certain prefixes (whichever ones are not needed in
|
|
201 the language you choose).")
|
|
202
|
|
203 (defun iso-accents-accent-key (prompt)
|
|
204 "Modify the following character by adding an accent to it."
|
|
205 ;; Pick up the accent character.
|
|
206 (if (and iso-accents-mode
|
|
207 (memq last-input-char iso-accents-enable))
|
|
208 (iso-accents-compose prompt)
|
|
209 (char-to-string last-input-char)))
|
|
210
|
|
211 (defun iso-accents-compose (prompt)
|
|
212 (let* ((first-char last-input-char)
|
|
213 (list (assq first-char iso-accents-list))
|
|
214 ;; Wait for the second key and look up the combination.
|
|
215 (second-char (if (or prompt
|
|
216 (not (eq (key-binding "a")
|
|
217 'self-insert-command))
|
|
218 ;; Not at start of a key sequence.
|
|
219 (> (length (this-single-command-keys)) 1)
|
|
220 ;; Called from anything but the command loop.
|
|
221 this-command)
|
|
222 (progn
|
|
223 (message "%s%c"
|
|
224 (or prompt "Compose with ")
|
|
225 first-char)
|
|
226 (read-event))
|
|
227 (insert first-char)
|
|
228 (prog1 (read-event)
|
|
229 (delete-region (1- (point)) (point)))))
|
|
230 (entry (cdr (assq second-char list))))
|
|
231 (if entry
|
88
|
232 ;; Found it: insert the accented character and
|
|
233 ;; return a do-nothing key
|
|
234 (vector (character-to-event (list entry)))
|
4
|
235 ;; Otherwise, advance and schedule the second key for execution.
|
88
|
236 (setq unread-command-events (append
|
|
237 (list
|
|
238 (character-to-event (list second-char)))
|
|
239 unread-command-events))
|
|
240 (vector (character-to-event (list first-char))))))
|
4
|
241
|
|
242 ;; It is a matter of taste if you want the minor mode indicated
|
|
243 ;; in the mode line...
|
|
244 ;; If so, uncomment the next four lines.
|
|
245 ;; (or (assq 'iso-accents-mode minor-mode-alist)
|
|
246 ;; (setq minor-mode-alist
|
|
247 ;; (append minor-mode-alist
|
|
248 ;; '((iso-accents-mode " ISO-Acc")))))
|
|
249
|
|
250 ;;;###autoload
|
|
251 (defun iso-accents-mode (&optional arg)
|
|
252 "Toggle ISO Accents mode, in which accents modify the following letter.
|
|
253 This permits easy insertion of accented characters according to ISO-8859-1.
|
|
254 When Iso-accents mode is enabled, accent character keys
|
|
255 \(`, ', \", ^, / and ~) do not self-insert; instead, they modify the following
|
|
256 letter key so that it inserts an ISO accented letter.
|
|
257
|
|
258 You can customize ISO Accents mode to a particular language
|
|
259 with the command `iso-accents-customize'.
|
|
260
|
|
261 Special combinations: ~c gives a c with cedilla,
|
|
262 ~d gives an Icelandic eth (d with dash).
|
|
263 ~t gives an Icelandic thorn.
|
|
264 \"s gives German sharp s.
|
|
265 /a gives a with ring.
|
|
266 /e gives an a-e ligature.
|
|
267 ~< and ~> give guillemots.
|
|
268 ~! gives an inverted exclamation mark.
|
|
269 ~? gives an inverted question mark.
|
|
270
|
|
271 With an argument, a positive argument enables ISO Accents mode,
|
|
272 and a negative argument disables it."
|
|
273
|
|
274 (interactive "P")
|
|
275
|
|
276 (if (if arg
|
|
277 ;; Negative arg means switch it off.
|
|
278 (<= (prefix-numeric-value arg) 0)
|
|
279 ;; No arg means toggle.
|
|
280 iso-accents-mode)
|
|
281 (setq iso-accents-mode nil)
|
|
282
|
|
283 ;; Enable electric accents.
|
|
284 (setq iso-accents-mode t)))
|
|
285
|
88
|
286 (defvar iso-accents-mode-map nil)
|
|
287
|
4
|
288 (defun iso-accents-customize (language)
|
|
289 "Customize the ISO accents machinery for a particular language.
|
|
290 It selects the customization based on the specifications in the
|
|
291 `iso-languages' variable."
|
|
292 (interactive (list (completing-read "Language: " iso-languages nil t)))
|
88
|
293 (let ((table (assoc language iso-languages)) tail acc)
|
4
|
294 (if (not table)
|
|
295 (error "Unknown language '%s'" language)
|
|
296 (setq iso-language language
|
|
297 iso-accents-list (cdr table))
|
|
298 (if key-translation-map
|
|
299 (substitute-key-definition
|
|
300 'iso-accents-accent-key nil key-translation-map)
|
|
301 (setq key-translation-map (make-sparse-keymap)))
|
88
|
302 (setq iso-accents-mode-map (make-sparse-keymap))
|
|
303 (let ((pair (assoc 'iso-accents-mode minor-mode-map-alist)))
|
|
304 (if pair
|
|
305 (setcdr pair iso-accents-mode-map)
|
|
306 (let ((l minor-mode-map-alist))
|
|
307 (while (cdr l)
|
|
308 (setq l (cdr l)))
|
|
309 (setcdr l (list (cons 'iso-accents-mode iso-accents-mode-map))))))
|
4
|
310 ;; Set up translations for all the characters that are used as
|
|
311 ;; accent prefixes in this language.
|
|
312 (setq tail iso-accents-list)
|
|
313 (while tail
|
88
|
314 (define-key key-translation-map
|
|
315 (vector (character-to-event (list (car (car tail)))))
|
4
|
316 'iso-accents-accent-key)
|
88
|
317 (setq acc (cdr (car tail)))
|
|
318 (while acc
|
|
319 (define-key iso-accents-mode-map
|
|
320 (vector (character-to-event (list (cdr (car acc)))))
|
|
321 'iso-accents-self-insert-unless-redefined)
|
|
322 (setq acc (cdr acc)))
|
4
|
323 (setq tail (cdr tail))))))
|
|
324
|
88
|
325 (defun iso-accents-self-insert-unless-redefined (prompt)
|
|
326 "Temporarily disables iso-accents-mode, and checks for additional bindings of the keys that produced its invocation. If no such binding is found, 'self-insert-command is returned"
|
|
327 (interactive "p")
|
|
328 (let* ((iso-accents-mode nil)
|
|
329 (bind (key-binding (this-command-keys)))
|
|
330 (repeat t) result)
|
|
331 (while repeat
|
|
332 (setq result
|
|
333 (cond ((or (null bind)
|
|
334 (eq bind 'self-insert-command))
|
|
335 (setq repeat nil)
|
|
336 (self-insert-command prompt))
|
|
337 ((commandp bind)
|
|
338 (setq repeat nil)
|
|
339 (call-interactively bind))
|
|
340 ((or (stringp bind)
|
|
341 (keymapp bind))
|
|
342 (setq repeat nil)
|
|
343 bind)
|
|
344 ((and (consp bind)
|
|
345 (stringp (car bind)))
|
|
346 (setq bind (cdr bind)))
|
|
347 ((and (consp bind)
|
|
348 (keymapp (car bind)))
|
|
349 (setq bind (lookup-key (car bind) (cdr bind))))
|
|
350 (t (error "Invalid key binding")))))
|
|
351 result))
|
|
352
|
4
|
353 (defun iso-accentuate (start end)
|
|
354 "Convert two-character sequences in region into accented characters.
|
|
355 Noninteractively, this operates on text from START to END.
|
|
356 This uses the same conversion that ISO Accents mode uses for type-in."
|
|
357 (interactive "r")
|
|
358 (save-excursion
|
|
359 (save-restriction
|
|
360 (narrow-to-region start end)
|
|
361 (goto-char start)
|
|
362 (forward-char 1)
|
|
363 (let (entry)
|
|
364 (while (< (point) end)
|
|
365 (if (and (memq (preceding-char) iso-accents-enable)
|
|
366 (setq entry (cdr (assq (following-char) (assq (preceding-char) iso-accents-list)))))
|
|
367 (progn
|
|
368 (forward-char -1)
|
|
369 (delete-char 2)
|
|
370 (insert entry)
|
|
371 (setq end (1- end)))
|
|
372 (forward-char 1)))))))
|
|
373
|
|
374 (defun iso-accent-rassoc-unit (value alist)
|
|
375 (let (elt acc)
|
|
376 (while (and alist (not elt))
|
|
377 (setq acc (car (car alist))
|
|
378 elt (car (rassq value (cdr (car alist))))
|
|
379 alist (cdr alist)))
|
|
380 (if elt
|
|
381 (cons acc elt))))
|
|
382
|
|
383 (defun iso-unaccentuate (start end)
|
|
384 "Convert accented characters in the region into two-character sequences.
|
|
385 Noninteractively, this operates on text from START to END.
|
|
386 This uses the opposite of the conversion done by ISO Accents mode for type-in."
|
|
387 (interactive "r")
|
|
388 (save-excursion
|
|
389 (save-restriction
|
|
390 (narrow-to-region start end)
|
|
391 (goto-char start)
|
|
392 (let (entry)
|
|
393 (while (< (point) end)
|
|
394 (if (and (> (following-char) 127)
|
|
395 (setq entry (iso-accent-rassoc-unit (following-char)
|
|
396 iso-accents-list)))
|
|
397 (progn
|
|
398 (delete-char 1)
|
|
399 (insert (car entry) (cdr entry))
|
|
400 (setq end (1+ end)))
|
|
401 (forward-char 1)))))))
|
|
402
|
|
403 (defun iso-deaccentuate (start end)
|
|
404 "Convert accented characters in the region into unaccented characters.
|
|
405 Noninteractively, this operates on text from START to END."
|
|
406 (interactive "r")
|
|
407 (save-excursion
|
|
408 (save-restriction
|
|
409 (narrow-to-region start end)
|
|
410 (goto-char start)
|
|
411 (let (entry)
|
|
412 (while (< (point) end)
|
|
413 (if (and (> (following-char) 127)
|
|
414 (setq entry (iso-accent-rassoc-unit (following-char)
|
|
415 iso-accents-list)))
|
|
416 (progn
|
|
417 (delete-char 1)
|
|
418 (insert (cdr entry)))
|
|
419 (forward-char 1)))))))
|
|
420
|
|
421 ;; Set up the default settings.
|
|
422 (iso-accents-customize "latin-1")
|
|
423
|
|
424 ;; Use Iso-Accents mode in the minibuffer
|
|
425 ;; if it was in use in the previous buffer.
|
|
426 (defun iso-acc-minibuf-setup ()
|
|
427 (setq iso-accents-mode
|
|
428 (save-excursion
|
|
429 (set-buffer (window-buffer minibuffer-scroll-window))
|
|
430 iso-accents-mode)))
|
|
431
|
|
432 (add-hook 'minibuf-setup-hook 'iso-acc-minibuf-setup)
|
|
433
|
|
434 ;;; iso-acc.el ends here
|