trying to fix

This commit is contained in:
Chris Cochrun 2022-01-03 12:41:35 -06:00
parent fa407dfeb6
commit e013d7569e
22945 changed files with 447936 additions and 0 deletions

View file

@ -0,0 +1 @@
<!-- SC_OFF --><div class="md"><p>Hi - I&#39;m trying to write a function which will take a filename from a project as user input. This doesn&#39;t seem to work. I get `nil` returned for the `filename` variable.</p> <p>&#x200B;</p> <pre><code>(defun my-test-function() (interactive) (let ((filename (projectile-find-file))) (message (format &quot;Current %s&quot; filename)))) </code></pre> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/PigsDogsAndSheep"> /u/PigsDogsAndSheep </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r589s8/how_to_use_projectilefindfile_in_a_custom_function/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/r589s8/how_to_use_projectilefindfile_in_a_custom_function/">[comments]</a></span>