Skip to content

Commit

Permalink
fix up tramp mode so sudo editing files is possible
Browse files Browse the repository at this point in the history
  • Loading branch information
samaaron committed Apr 14, 2012
1 parent 1bd272a commit d75b318
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions live-config/live.el
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@
(load-live-config-file "undo-tree-conf.el")
(load-live-config-file "refheap-conf.el")
(load-live-config-file "javascript-conf.el")
(load-live-config-file "tramp-conf.el")
5 changes: 5 additions & 0 deletions live-config/tramp-config.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
;;disable backups of files edited with tramp
(require 'backup-dir)
(add-to-list 'bkup-backup-directory-info
(list tramp-file-name-regexp ""))
(setq tramp-bkup-backup-directory-info nil)

0 comments on commit d75b318

Please sign in to comment.