mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(reveal-post-command): Use overlay-get for overlays.
This commit is contained in:
parent
0db701f029
commit
02ad7cbf43
1 changed files with 2 additions and 2 deletions
|
|
@ -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)))
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
(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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue