diff options
Diffstat (limited to 'dictionary.el')
-rw-r--r-- | dictionary.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dictionary.el b/dictionary.el index 25f3514..4c16d5d 100644 --- a/dictionary.el +++ b/dictionary.el @@ -35,7 +35,7 @@ ;;; Code: (eval-when-compile - (require 'cl)) + (require 'cl-lib)) (require 'easymenu) (require 'custom) @@ -351,7 +351,7 @@ by the choice value: " (unless (eq major-mode 'dictionary-mode) - (incf dictionary-instances)) + (cl-incf dictionary-instances)) (kill-all-local-variables) (buffer-disable-undo) @@ -519,7 +519,7 @@ by the choice value: (if (eq major-mode 'dictionary-mode) (progn (setq major-mode nil) - (if (<= (decf dictionary-instances) 0) + (if (<= (cl-decf dictionary-instances) 0) (connection-close dictionary-connection)) (let ((configuration dictionary-window-configuration) (selected-window dictionary-selected-window)) |