Sfoglia il codice sorgente

Tiny refactoring

* lisp/org.el (org-hide-block-toggle-maybe): Tiny refactoring.
Nicolas Goaziou 10 anni fa
parent
commit
b2fca73e30
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lisp/org.el

+ 1 - 1
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.