agent added to dpaste

This commit is contained in:
lxsameer 2011-01-03 21:03:51 +03:30
parent ad812b56e2
commit 65b546e8d4
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ binding for Kuso IDE dpaste plugin"
;; This line of code gets from the el file that i mentioned above
(setq type (or (cdr (assoc major-mode dpaste-support-types)) ""))
(shell-command-on-region start end (concat "curl -si" " -F 'content=<-'"
" -A 'Kuso dpaste plugin'"
" -F 'language=" type "'"
" -F 'title=" title "'"
" -F 'poster=" poster "'"