1 line
894 B
Plaintext
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() "Update shareList with valid shares." (let ((shareList '()) (filedest) ) (save-excursion (goto-char (point-min)) ;;do some processing involving the update of 'sharedList ) ) ;;sharedList is undefined here ) </code></pre> </div><!-- SC_ON -->   submitted by   <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>   <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> |