Cecil Westerhof <[email protected]> writes:

> Sometimes I want to see the info about the communication with the
> SMTP-server. But I find it not very handy to remember the variable to
> set or reset. That is why I made the folowing function:
>     (defun dcbl-switch-smtp-debug-info ()
>       (interactive)
>       (if smtpmail-debug-info
>           (progn
>             (setq smtpmail-debug-info nil)
>             (message "disabled smtp-debug-info"))
>         (setq smtpmail-debug-info t)
>         (message "enabled smtp-debug-info")))

a.k.a.

(defun dcbl-switch-smtp-debug-info ()
  (interactive)
  (setq smtpmail-debug-info (not smtpmail-debug-info))
  (message "%sabled smtp-debug-info" (if smtpmail-debug-info "en" "dis")))

  
  Štěpán

_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to