mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
b646cbb635
This hook was removed from emacs 24.1 so it's obsolete now. PR: 196527 Submitted by: Yoshiaki Kasahara Approved by: n/a (unmaintained)
13 lines
431 B
EmacsLisp
13 lines
431 B
EmacsLisp
--- dictionary.el.orig 2004-10-02 06:31:20 UTC
|
|
+++ 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 (fboundp 'make-local-hook)
|
|
+ (make-local-hook 'kill-buffer-hook))
|
|
(add-hook 'kill-buffer-hook 'dictionary-close t t)
|
|
(run-hooks 'dictionary-mode-hook))
|
|
|