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

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

[elpa] externals/dash 9631947 155/316: Merge pull request #317 from cire


From: ELPA Syncer
Subject: [elpa] externals/dash 9631947 155/316: Merge pull request #317 from cireu/feat/intern-soft
Date: Mon, 15 Feb 2021 15:57:48 -0500 (EST)

branch: externals/dash
commit 9631947f2fbeed58b1d07a3ebc1340a3626b2823
Merge: a743ae3 62707a6
Author: Matus Goljer <matus.goljer@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #317 from cireu/feat/intern-soft
    
    Avoid `dash--get-expand-function` create non-existing symbol.
---
 dash.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dash.el b/dash.el
index 22ebbd5..55285fa 100644
--- a/dash.el
+++ b/dash.el
@@ -1653,7 +1653,7 @@ All returned symbols are guaranteed to be unique."
 
 (defun dash--get-expand-function (type)
   "Get expand function name for TYPE."
-  (intern (format "dash-expand:%s" type)))
+  (intern-soft (format "dash-expand:%s" type)))
 
 (defun dash--match-cons-1 (match-form source &optional props)
   "Match MATCH-FORM against SOURCE.



reply via email to

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