]> code.delx.au - gnu-emacs/blobdiff - lisp/mail/mailalias.el
Merge from origin/emacs-25
[gnu-emacs] / lisp / mail / mailalias.el
index 35528af2c4994112dda4bedc5d172e6a579ec01c..59670a7dcbdffcbc27a747e1a0e773e8d93dd1e9 100644 (file)
@@ -130,7 +130,12 @@ or like this:
 
 (defcustom mail-directory-stream nil
   "List of (HOST SERVICE) for stream connection to mail directory."
-  :type 'sexp
+  :type '(choice (const nil)
+                 (list (string :tag "Host name or ip address")
+                       (choice (integer :tag "Service port number")
+                               (string :tag "Service name"))
+                       (plist :inline t
+                              :tag "Additional open-network-stream parameters")))
   :group 'mailalias)
 (put 'mail-directory-stream 'risky-local-variable t)