branch: externals/embark commit bc4784f82be37d97c38f1d0896751ac252c29976 Author: Omar Antolín <omar.anto...@gmail.com> Commit: Omar Antolín <omar.anto...@gmail.com>
Allow for improbable case of empty target in embark--ignore-target --- embark.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embark.el b/embark.el index d869a70779..bab357c81d 100644 --- a/embark.el +++ b/embark.el @@ -3792,7 +3792,7 @@ The advice is self-removing so it only affects ACTION once." (let ((contents (get-text-property (minibuffer-prompt-end) 'embark--initial-input))) (delete-minibuffer-contents) - (insert contents)) + (when contents (insert contents))) (embark--allow-edit)) (autoload 'xref-push-marker-stack "xref")