summaryrefslogtreecommitdiff
path: root/org-margin.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-margin.el')
-rw-r--r--org-margin.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-margin.el b/org-margin.el
index 992fa97..25e1936 100644
--- a/org-margin.el
+++ b/org-margin.el
@@ -151,7 +151,7 @@ that is in one of the modes listed in `org-margin-doc-modes'."
Uses `org-margin-find-doc-buffer-functions', which see for how to
customize its behavior."
- (org-margin--find org-margin-find-org-buffer-functions))
+ (org-margin--find org-margin-find-doc-buffer-functions))
(cl-defmacro org-margin--with-buffer ((buffer &optional error) &rest body)
"Evaluate BODY in BUFFER, raising ERROR if BUFFER is nil.