emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/embark bc4784f82b: Allow for improbable case of empty t


From: ELPA Syncer
Subject: [elpa] externals/embark bc4784f82b: Allow for improbable case of empty target in embark--ignore-target
Date: Fri, 6 May 2022 18:57:29 -0400 (EDT)

branch: externals/embark
commit bc4784f82be37d97c38f1d0896751ac252c29976
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]