aboutsummaryrefslogtreecommitdiff
path: root/dictionary.el
diff options
context:
space:
mode:
Diffstat (limited to 'dictionary.el')
-rwxr-xr-xdictionary.el3
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))