diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-11-14 14:18:11 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-11-14 14:18:11 +0100 |
commit | aee75f2cfe80c5d075068a644380d6608b0a2156 (patch) | |
tree | bf7063fbcac62738d94ffddfa6b6ea75cbc28697 | |
parent | 9ff2abce135b56106ede0beea27dae643726f397 (diff) |
No need to use helm-aif here
* helm-lib.el (helm-dynamic-completion): Do it.
-rw-r--r-- | helm-lib.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-lib.el b/helm-lib.el index 58b77f26..dd4ebf53 100644 --- a/helm-lib.el +++ b/helm-lib.el @@ -1374,8 +1374,8 @@ Example: (sort-fn (completion-metadata-get metadata 'display-sort-function)) all) - (helm-aif (cdr last-data) - (setcdr last-data nil)) + (when (cdr last-data) + (setcdr last-data nil)) (setq all (copy-sequence comps)) (if sort-fn (funcall sort-fn all) all))))) ;; Ensure circular objects are removed. |