From 076cba6b2de44153841020bc0e140f5308bd5f26 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 10 Dec 2017 23:50:30 +0100 Subject: [PATCH] Fix last commit * lisp/org.el (org-show-all): Remove function. --- lisp/org.el | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index d9004988b..9ebba6d02 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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.