When I drag and drop an image into Emacs, I want the attached file to end up in ./img/YYYY/. This is how I tried configuring it in my setup (I use Doom Emacs):
 1 2 3 4 5 6 7 8  ;; Align comments in marked region ;; Via https://stackoverflow.com/a/20278032 (defun jab/align-comments (beginning end) "Align comments within marked region." (interactive "*r") (let (indent-tabs-mode align-to-tab-stop) (align-regexp beginning end (concat "\$$\\s-*\$$" (regexp-quote comment-start)))))