emacs/var/elfeed/db/data/08/08e13cf39fa1cdc35d5c0e8ec9dcdebb08e7a9d6
2022-01-03 12:49:32 -06:00

1 line
894 B
Plaintext

<!-- SC_OFF --><div class="md"><p>In the function below I gather a list of shares in <code>shareList</code> which is defined in the <code>let</code> so it is undefined at the end. How do I make its contents available at that stage.</p> <pre><code>(defun getsharelist() &quot;Update shareList with valid shares.&quot; (let ((shareList &#39;()) (filedest) ) (save-excursion (goto-char (point-min)) ;;do some processing involving the update of &#39;sharedList ) ) ;;sharedList is undefined here ) </code></pre> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/vfclists"> /u/vfclists </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/ppg26q/how_do_i_get_a_function_to_use_a_value_set_in_a/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/ppg26q/how_do_i_get_a_function_to_use_a_value_set_in_a/">[comments]</a></span>