mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-24 16:30:58 -05:00
Bytecompiler bytecompiler, won't you shut up
This commit is contained in:
@@ -134,7 +134,7 @@ project."
|
||||
(+org--capture-ensure-heading (cdr headings) (1+ initial-level)))))
|
||||
|
||||
(defun +org--capture-central-file (file project)
|
||||
(let ((file (expand-file-name +org-capture-projects-file org-directory)))
|
||||
(let ((file (expand-file-name file org-directory)))
|
||||
(set-buffer (org-capture-target-buffer file))
|
||||
(org-capture-put-target-region-and-position)
|
||||
(widen)
|
||||
|
@@ -59,6 +59,6 @@
|
||||
(user-error "No saved location to refile to"))
|
||||
(let ((org-refile-keep arg)
|
||||
(completing-read-function
|
||||
(lambda (_p coll _pred _rm _ii _h default &rest _)
|
||||
(lambda (_p _coll _pred _rm _ii _h default &rest _)
|
||||
default)))
|
||||
(org-refile)))
|
||||
|
@@ -68,8 +68,7 @@
|
||||
1)))
|
||||
(pcase direction
|
||||
(`below
|
||||
(let ((at-eol (>= (point) (1- (line-end-position))))
|
||||
org-insert-heading-respect-content)
|
||||
(let (org-insert-heading-respect-content)
|
||||
(goto-char (line-end-position))
|
||||
(org-end-of-subtree)
|
||||
(insert "\n" (make-string level ?*) " ")))
|
||||
|
Reference in New Issue
Block a user