Skip to content

Instantly share code, notes, and snippets.

@legumbre
Created January 2, 2012 22:45
Show Gist options
  • Select an option

  • Save legumbre/1552463 to your computer and use it in GitHub Desktop.

Select an option

Save legumbre/1552463 to your computer and use it in GitHub Desktop.
;; defadvice sample for dropdive
(defadvice ask-user-about-supersession-threat (around ask-user-supersession-with-diff activate)
"Diff the buffer with the backing (modified) file"
(diff-buffer-with-file)
ad-do-it)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment