mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-24 16:30:58 -05:00
APPEASE THE GREAT BYTE-COMPILER-SAMA
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
;; fix #462: when refiling from org-capture, Emacs prompts to kill the
|
||||
;; underlying, modified buffer. This fixes that.
|
||||
(defun +org-capture*refile (orig-fn &rest args)
|
||||
(defun +org-capture*refile (&rest _)
|
||||
(when org-capture-is-refiling
|
||||
(org-save-all-org-buffers)))
|
||||
(advice-add 'org-refile :after #'+org-capture*refile)
|
||||
|
@@ -1,6 +1,8 @@
|
||||
;;; lang/org/autoload/org-capture.el -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +capture)
|
||||
|
||||
(defvar org-capture-initial)
|
||||
|
||||
;; --- External frame ---------------------
|
||||
|
||||
(defvar +org-capture-window-params
|
||||
|
Reference in New Issue
Block a user