Avoid interning unused symbols in destructuring

dash--get-expand-function: Use `intern-soft` instead of `intern`.
master
Zhu Zihao 7 years ago
parent a743ae3da1
commit 62707a68aa
  1. 2
      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.

Loading…
Cancel
Save