From 8112629d378c6cc85fb4440580ee4550b6c8e48b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 25 Jul 2017 19:24:47 +0200 Subject: [PATCH] ox-texinfo: Fix code typo * lisp/ox-texinfo.el (org-texinfo--menu-entries): Only collect direct children. The regression was introduced in 1b415735ea236a5e9dfff06428378b6ba5f9e80b. --- lisp/ox-texinfo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index 8e6889090..e85e39b7e 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -1216,7 +1216,7 @@ holding contextual information." (cl-remove-if (lambda (h) (org-not-nil (org-export-get-node-property :COPYING h t))) - (org-export-collect-headlines info nil scope)) + (org-export-collect-headlines info 1 scope)) cache)))) ;;;; Node Property