branch: elpa/gnosis commit 4298a66ab6a24b9864c1ecd58ccb7f1e7ab1022c Author: Thanos Apollo <pub...@thanosapollo.org> Commit: Thanos Apollo <pub...@thanosapollo.org>
gnosis-completing-read: Use copy-sequence. + Suggested as fix for minor bugs on non-GNU/Linux systems. --- gnosis.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index 1723bc90f5..b4dcb259f3 100644 --- a/gnosis.el +++ b/gnosis.el @@ -331,7 +331,8 @@ When VERIFICATION is non-nil, skip `y-or-n-p' prompt." PROMPT: Prompt for `gnosis-completing-read-function' History is disabled." (let ((history-add-new-input nil)) - (funcall gnosis-completing-read-function prompt (gnosis-shuffle seq)))) + (funcall gnosis-completing-read-function prompt + (gnosis-shuffle (copy-sequence seq))))) (defun gnosis-insert-separator () "Insert a dashed line spanning the entire width of the buffer."