Permalink
Browse files

When using `native' method, `twittering-proxy-use' must be nil.

* twittering-mode.el: Confirm that `twittering-proxy-use' is nil
when trying the connection method `native'.
(twittering-start-http-session-native-tls-p): return nil if
`twittering-proxy-use' is non-nil.
  • Loading branch information...
1 parent 8d7e25e commit 1675f0104e138ed07d739b71d4590f5e63d7fe0d @cvmat cvmat committed Nov 13, 2010
Showing with 7 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +2 −1 twittering-mode.el
View
@@ -48,6 +48,11 @@
sentinel via `additional-info', which is an argument of
`twittering-call-api'.
+ * twittering-mode.el: Confirm that `twittering-proxy-use' is nil
+ when trying the connection method `native'.
+ (twittering-start-http-session-native-tls-p): return nil if
+ `twittering-proxy-use' is non-nil.
+
2010-10-14 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el: `twittering-get-error-message' generates an
View
@@ -1284,7 +1284,8 @@ The method to perform the request is determined from
(eval-when-compile (require 'tls nil t))
(defun twittering-start-http-session-native-tls-p ()
- (when (require 'tls nil t)
+ (when (and (not twittering-proxy-use)
+ (require 'tls nil t))
(unless twittering-tls-program
(let ((programs
(remove nil

0 comments on commit 1675f01

Please sign in to comment.