diff options
| -rw-r--r-- | lisp/international/mule-cmds.el | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index e7972045a65..eb92a210fd2 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -358,22 +358,13 @@ See also the variable `leim-list-header'") | |||
| 358 | "List of functions to call to update LEIM list file. | 358 | "List of functions to call to update LEIM list file. |
| 359 | Each function is called with one arg, LEIM directory name.") | 359 | Each function is called with one arg, LEIM directory name.") |
| 360 | 360 | ||
| 361 | (defun update-leim-list-file (dir) | 361 | (defun update-leim-list-file (&rest dirs) |
| 362 | "Update LEIM list file in directory DIR." | 362 | "Update LEIM list file in directories DIRS." |
| 363 | (let ((functions update-leim-list-functions)) | 363 | (let ((functions update-leim-list-functions)) |
| 364 | (while functions | 364 | (while functions |
| 365 | (funcall (car functions) (expand-file-name dir)) | 365 | (apply (car functions) dirs) |
| 366 | (setq functions (cdr functions))))) | 366 | (setq functions (cdr functions))))) |
| 367 | 367 | ||
| 368 | (defun update-all-leim-list-files () | ||
| 369 | "Update all the LEIM list files." | ||
| 370 | (interactive) | ||
| 371 | (let ((l load-path)) | ||
| 372 | (while l | ||
| 373 | (if (string-match "leim" (car l)) | ||
| 374 | (update-leim-list-file (car l))) | ||
| 375 | (setq l (cdr l))))) | ||
| 376 | |||
| 377 | (defvar current-input-method nil | 368 | (defvar current-input-method nil |
| 378 | "The current input method for multilingual text. | 369 | "The current input method for multilingual text. |
| 379 | If nil, that means no input method is activated now.") | 370 | If nil, that means no input method is activated now.") |