diff options
Diffstat (limited to 'elisp/ellinika-mode.el')
-rw-r--r-- | elisp/ellinika-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/ellinika-mode.el b/elisp/ellinika-mode.el index 9ca7d6d..6d4a997 100644 --- a/elisp/ellinika-mode.el +++ b/elisp/ellinika-mode.el @@ -26,20 +26,20 @@ (defun greek-input (arg) (interactive "p") (set-input-method - (if (boundp 'greek-input-method) + (if (and (boundp 'greek-input-method) greek-input-method) greek-input-method 'greek))) (defun ancient-greek-input (arg) (interactive "p") (set-input-method - (if (boundp 'ancient-greek-input-method) + (if (and (boundp 'ancient-greek-input-method) ancient-greek-input-method) ancient-greek-input-method 'greek-ibycus4))) (defun alt-input (arg) (interactive "p") - (if (boundp 'alternative-input-method) + (if (and (boundp 'alternative-input-method) alternative-input-method) (set-input-method alternative-input-method) (inactivate-input-method))) |