branch: elpa/spell-fu
commit 53a19dea57fabfa3a1bc722af8172864c24de0c0
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Fix overlay hooks: must be lists of functions
---
spell-fu.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/spell-fu.el b/spell-fu.el
index ca0beb55c9f..250998606de 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -713,9 +713,9 @@ Otherwise remove all overlays."
(let ((item-ov (make-overlay pos-beg pos-end)))
(overlay-put item-ov 'spell-fu-mode t)
(overlay-put item-ov 'face 'spell-fu-incorrect-face)
- (overlay-put item-ov 'modification-hooks
'spell-fu--removed-changed-overlay)
- (overlay-put item-ov 'insert-in-front-hooks
'spell-fu--removed-changed-overlay)
- (overlay-put item-ov 'insert-behind-hooks
'spell-fu--removed-changed-overlay)
+ (overlay-put item-ov 'modification-hooks
'(spell-fu--removed-changed-overlay))
+ (overlay-put item-ov 'insert-in-front-hooks
'(spell-fu--removed-changed-overlay))
+ (overlay-put item-ov 'insert-behind-hooks
'(spell-fu--removed-changed-overlay))
(overlay-put item-ov 'evaporate t)
item-ov))