Skip to content

Commit

Permalink
Commenting out some functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
febuiles committed Dec 7, 2008
1 parent f4ae445 commit 8e8c852
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tumble.el
Expand Up @@ -12,7 +12,7 @@
(setq tumble-format "markdown")

(defun tumble-default-headers ()
;; these headers will go into every request, no need for modification.
;; generic headers
(list (cons "email" tumble-email)
(cons "password" tumble-password)
(cons "format" tumble-format)
Expand Down Expand Up @@ -64,8 +64,11 @@
(cons "body" body))))

(defun tumble-http-post (request)
"Send the POST to Tumblr"
(http-post "http://www.tumblr.com/api/write"
(append (tumble-default-headers) request)
'utf-8))

(defun region-text () (buffer-substring-no-properties min max))
(defun region-text ()
"returns the text of the region inside an (interactive 'r') function"
(buffer-substring-no-properties min max))

0 comments on commit 8e8c852

Please sign in to comment.