mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix org-insert-link desc prompt for helm users #1710
A change upstream causes the prompt to be suppressed if the current command wasn't run interactively. The check for interactivity gets tricky when advice are involved.
This commit is contained in:
@ -188,7 +188,7 @@ the command buffer."
|
|||||||
;; But it must exist for org to clean up later.
|
;; But it must exist for org to clean up later.
|
||||||
(get-buffer-create "*Org Links*"))
|
(get-buffer-create "*Org Links*"))
|
||||||
(apply old-org-completing-read args))))
|
(apply old-org-completing-read args))))
|
||||||
(apply orig-fn args)))
|
(apply #'funcall-interactively orig-fn args)))
|
||||||
|
|
||||||
;; Fix left-over popup window when closing persistent help for `helm-M-x'
|
;; Fix left-over popup window when closing persistent help for `helm-M-x'
|
||||||
(defadvice! +popup--helm-elisp--persistent-help-a (candidate _fun &optional _name)
|
(defadvice! +popup--helm-elisp--persistent-help-a (candidate _fun &optional _name)
|
||||||
|
Reference in New Issue
Block a user