From 62707a68aa75e8459d78d6e1973dfd46566508c1 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Sat, 28 Sep 2019 00:32:50 +0800 Subject: [PATCH] Avoid interning unused symbols in destructuring dash--get-expand-function: Use `intern-soft` instead of `intern`. --- 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.