mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 15:37:40 -04:00
This hook was removed from emacs 24.1 so it's obsolete now. PR: 196527 Submitted by: Yoshiaki Kasahara Approved by: n/a (unmaintained)
12 lines
431 B
EmacsLisp
12 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))
|
|
|