Function: org-hide-block-toggle-maybe

org-hide-block-toggle-maybe is an interactive and byte-compiled function defined in org-compat.el.gz.

This command is obsolete since 9.4; use org-hide-block-toggle instead.

Signature

(org-hide-block-toggle-maybe)

Documentation

Toggle visibility of block at point.

Unlike to org-hide-block-toggle, this function does not throw an error. Return a non-nil value when toggling is successful.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-compat.el.gz
(defun org-hide-block-toggle-maybe ()
  "Toggle visibility of block at point.
Unlike to `org-hide-block-toggle', this function does not throw
an error.  Return a non-nil value when toggling is successful."
  (declare (obsolete "use `org-hide-block-toggle' instead." "9.4"))
  (interactive)
  (org-fold-hide-block-toggle nil t))