[slime-devel] Missed `add-local-hook' renames
Ariel Badichi
abadichi at bezeqint.net
Mon Aug 18 01:48:02 UTC 2008
Hello,
There are a couple of missing renames for `add-local-hook', which
prevent SLIME from loading properly in Emacs if either `slime-fuzzy'
or `slime-presentation' contribs are used. The following patch fixes
that.
Ariel
commit feb5c8e7ba42ef14708ab2c1304e8d7cea8bb5cb
Author: Ariel Badichi <abadichi at bezeqint.net>
Date: Mon Aug 18 04:38:44 2008 +0300
More `add-local-hook' to `slime-add-local-hook' renames.
diff --git a/contrib/slime-fuzzy.el b/contrib/slime-fuzzy.el
index 42fc546..bbae454 100644
--- a/contrib/slime-fuzzy.el
+++ b/contrib/slime-fuzzy.el
@@ -359,7 +359,7 @@ done."
(when (boundp 'window-configuration-change-hook)
(add-hook 'window-configuration-change-hook
'slime-fuzzy-window-configuration-change))
- (add-local-hook 'kill-buffer-hook 'slime-fuzzy-abort)
+ (slime-add-local-hook 'kill-buffer-hook 'slime-fuzzy-abort)
(setq buffer-quit-function 'slime-fuzzy-abort)) ; M-Esc Esc
(when slime-fuzzy-completion-in-place
;; switch back to the original buffer
diff --git a/contrib/slime-presentations.el b/contrib/slime-presentations.el
index 3d298db..6da488b 100644
--- a/contrib/slime-presentations.el
+++ b/contrib/slime-presentations.el
@@ -858,8 +858,8 @@ even on Common Lisp implementations without weak hash tables."
(lambda ()
;; Respect the syntax text properties of presentation.
(set (make-local-variable 'parse-sexp-lookup-properties) t)
- (add-local-hook 'after-change-functions
- 'slime-after-change-function)))
+ (slime-add-local-hook 'after-change-functions
+ 'slime-after-change-function)))
(add-hook 'slime-event-hooks 'slime-dispatch-presentation-event)
(setq slime-write-string-function 'slime-presentation-write)
(add-hook 'slime-repl-return-hooks 'slime-presentation-on-return-pressed)
More information about the slime-devel
mailing list