summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2014-09-16 09:30:29 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2014-09-16 09:30:29 +0200
commitb2fca73e30a064490a659b7318288fe6f0475414 (patch)
treeec40e7deb42f4a6b042962f9c5e8c50045ff7bc4
parentc8a7e474ec8aaec69379552d5ee011114eb16fbe (diff)
downloadorg-mode-b2fca73e30a064490a659b7318288fe6f0475414.tar.gz
Tiny refactoring
* lisp/org.el (org-hide-block-toggle-maybe): Tiny refactoring.
-rwxr-xr-xlisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index bcbe1b7..cd57ec7 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -7326,7 +7326,7 @@ Optional arguments START and END can be used to limit the range."
Unlike to `org-hide-block-toggle', this function does not throw
an error. Return a non-nil value when toggling is successful."
(interactive)
- (and (ignore-errors (org-hide-block-toggle)) t))
+ (ignore-errors (org-hide-block-toggle)))
(defun org-hide-block-toggle (&optional force)
"Toggle the visibility of the current block.