diff options
Diffstat (limited to 'dictionary.el')
-rwxr-xr-x | dictionary.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dictionary.el b/dictionary.el index 3270616..d70908a 100755 --- a/dictionary.el +++ b/dictionary.el @@ -330,7 +330,8 @@ by the choice value: (make-local-variable 'dictionary-default-dictionary) (make-local-variable 'dictionary-default-strategy) - (make-local-hook 'kill-buffer-hook) + (if (featurep 'xemacs) + (make-local-hook 'kill-buffer-hook)) (add-hook 'kill-buffer-hook 'dictionary-close t t) (run-hooks 'dictionary-mode-hook)) |