branch: elpa/isl
commit 1e11471216eae340bd0692f57625a2f01d455dde
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Ignore errors as well for outline
---
isearch-light.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/isearch-light.el b/isearch-light.el
index a2b84939c06..4eb1ff06ce1 100644
--- a/isearch-light.el
+++ b/isearch-light.el
@@ -480,10 +480,11 @@ appended at end."
buffer-invisibility-spec isl--buffer-invisibility-spec)
(if isl--quit
(setq isl--quit nil)
- (cond ((eq major-mode 'org-mode)
- (ignore-errors (org-reveal)))
- ((eq major-mode 'outline-mode)
- (outline-show-entry)))))
+ (ignore-errors
+ (cond ((eq major-mode 'org-mode)
+ (org-reveal))
+ ((eq major-mode 'outline-mode)
+ (outline-show-entry))))))
;;;###autoload
(defun isl ()