summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2020-05-22 16:03:44 +0200
committerBastien <bzg@gnu.org>2020-05-22 16:03:44 +0200
commit7c913d1792d87b3ec647da1cbd4b842040134696 (patch)
tree482d67ae93c88382700f66e1ee0352874d7dd369
parent1e3184964c6f5b37079c8b1c4fd543e8d3f693b3 (diff)
downloadorg-mode-7c913d1792d87b3ec647da1cbd4b842040134696.tar.gz
lisp/org-compat.el: Small fix in a "obsolete" declaration
* lisp/org-compat.el (org-cycle-hide-drawers): Mention to use `org-hide-drawer-all' instead of `org-hide-drawer' as the latter function does not exist anymore.
-rw-r--r--lisp/org-compat.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index bbf3481..635a38d 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -669,7 +669,7 @@ region as a drawer without further ado."
"Re-hide all drawers after a visibility state change.
STATE should be one of the symbols listed in the docstring of
`org-cycle-hook'."
- (declare (obsolete "use `org-hide-drawer' instead." "Org 9.4"))
+ (declare (obsolete "use `org-hide-drawer-all' instead." "Org 9.4"))
(when (and (derived-mode-p 'org-mode)
(not (memq state '(overview folded contents))))
(save-excursion