]> git.eshelyaron.com Git - emacs.git/commitdiff
(reveal-post-command): Use overlay-get for overlays.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 16 Apr 2003 16:03:46 +0000 (16:03 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 16 Apr 2003 16:03:46 +0000 (16:03 +0000)
lisp/reveal.el

index 88082c176217b5a5395cd1f1671bcb2adba5d3fd..11f8c11c936e33dfe650f6b6e7cf2d5fb7535b4e 100644 (file)
@@ -95,7 +95,7 @@
                     (let ((inv (overlay-get ol 'invisible)))
                       (and inv (symbolp inv)
                            (or (setq open (or (get inv 'reveal-toggle-invisible)
-                                              (get ol 'isearch-open-invisible-temporary)))
+                                              (overlay-get ol 'isearch-open-invisible-temporary)))
                                (overlay-get ol 'isearch-open-invisible)
                                (and (consp buffer-invisibility-spec)
                                     (assq inv buffer-invisibility-spec)))
             (if (or open
                     (and (setq inv (overlay-get ol 'reveal-invisible))
                          (setq open (or (get inv 'reveal-toggle-invisible)
-                                        (get ol 'isearch-open-invisible-temporary)))))
+                                        (overlay-get ol 'isearch-open-invisible-temporary)))))
                 (condition-case err
                     (funcall open ol t)
                   (error (message "!!Reveal-hide: %s !!" err)))