+2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * net/network-stream.el (network-stream-open-starttls): Make error
+ message under Windows be less misleading.
+
2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
* progmodes/etags.el (etags-list-tags): Only use tags which goto-func
(if (or (null starttls-command)
starttls-available)
"Server does not support TLS"
- (concat "Emacs does not support TLS, and no external `"
- (if starttls-use-gnutls
- starttls-gnutls-program
- starttls-program)
- "' program was found")))
+ ;; See `starttls-available-p'. If this predicate
+ ;; changes to allow running under Windows, the error
+ ;; message below should be amended.
+ (if (memq system-type '(windows-nt ms-dos))
+ (concat "Emacs does not support TLS")
+ (concat "Emacs does not support TLS, and no external `"
+ (if starttls-use-gnutls
+ starttls-gnutls-program
+ starttls-program)
+ "' program was found"))))
(delete-process stream)
(setq stream nil))
;; Return value: