aboutsummaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
Diffstat (limited to 'elisp')
-rw-r--r--elisp/ellinika-mode.el6
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)))

Return to:

Send suggestions and report system problems to the System administrator.