Emacs snippet for pmwiki attachments

| emacs
(defun sacha/dired-marked-images-as-attach ()
  "Return a list of images ready to be inserted into a pmwiki page."
  (interactive)
  (kill-new (mapconcat
             (lambda (item)
               (concat "Attach:" (file-name-nondirectory item)))
             (dired-get-marked-files)
             "\n")))
You can comment with Disqus or you can e-mail me at sacha@sachachua.com.