Skip to content

Instantly share code, notes, and snippets.

@camdez
Last active August 29, 2015 14:17
Show Gist options
  • Save camdez/c0f4c53ee847d5d1e2f0 to your computer and use it in GitHub Desktop.
Save camdez/c0f4c53ee847d5d1e2f0 to your computer and use it in GitHub Desktop.
Add new Emacs experiment
(defun camdez/add-experiment ()
(interactive)
(find-file camdez/experiments-file)
(goto-char (point-min))
(re-search-forward ";;; Code:")
(insert "\n\n")
(camdez/lisp-insert-hr)
(insert ";; ")
(insert-date-and-time)
(insert "\n\n"))
(global-set-key (kbd "C-c x") 'camdez/add-experiment)
@camdez
Copy link
Author

camdez commented Apr 13, 2015

Hi @willtmonroe, sorry about not getting back to you sooner—I just saw this. You can find the function here. I think it was in my experimental file (of all places...) at the time that you looked for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment