Fix last commit

* lisp/org.el (org-show-all): Remove function.
This commit is contained in:
Nicolas Goaziou 2017-12-10 23:50:30 +01:00
parent 6f89177ee6
commit 076cba6b2d
1 changed files with 0 additions and 13 deletions

View File

@ -6592,19 +6592,6 @@ and subscripts."
(defvar org-inlinetask-min-level)
(defun org-show-all (&optional types)
"Show all contents in the visible part of the buffer.
By default, the function expands headings, blocks and drawers.
When optional argument TYPE is a list of symbols among `blocks',
`drawers' and `headings', to only expand one specific type."
(dolist (type (or types '(blocks drawers headings)))
(org-flag-region (point-min) (point-max) nil
(pcase type
(`blocks 'org-hide-block)
(`drawers 'org-hide-drawer)
(`headings 'outline)
(_ (error "Invalid type: %S" type))))))
;;;###autoload
(defun org-cycle (&optional arg)
"TAB-action and visibility cycling for Org mode.