mirror of
https://github.com/org-roam/org-roam
synced 2025-09-04 15:03:32 -05:00
Fix undefined incf.
Calling org-roam-extract-subtree failes with "Symbol’s function definition is void: incf" org-roam.el includes cl-lib. org-roam--h1-count uses a bare incf call, which is undefined. Fix this by using cl-incf.
This commit is contained in:
@@ -837,7 +837,7 @@ Any top level properties drawers are incorporated into the new heading."
|
|||||||
(org-with-wide-buffer
|
(org-with-wide-buffer
|
||||||
(org-map-region (lambda ()
|
(org-map-region (lambda ()
|
||||||
(if (= (org-current-level) 1)
|
(if (= (org-current-level) 1)
|
||||||
(incf h1-count)))
|
(cl-incf h1-count)))
|
||||||
(point-min) (point-max))
|
(point-min) (point-max))
|
||||||
h1-count)))
|
h1-count)))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user