Skip to content

Instantly share code, notes, and snippets.

@ymorimo
Created April 26, 2010 07:05
Show Gist options
  • Save ymorimo/379061 to your computer and use it in GitHub Desktop.
Save ymorimo/379061 to your computer and use it in GitHub Desktop.
(add-hook 'find-file-hook
(lambda()
(if (string-match "/Dropbox/" buffer-file-name)
(set (make-variable-buffer-local 'make-backup-files) nil))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment