瀏覽代碼

Tiny refactoring

* lisp/org.el (org-hide-block-toggle-maybe): Tiny refactoring.
Nicolas Goaziou 10 年之前
父節點
當前提交
b2fca73e30
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.