]> code.delx.au - gnu-emacs-elpa/commitdiff
url-http-ntlm: Shorten first line of some docstrings
authorThomas Fitzsimmons <fitzsim@fitzsim.org>
Wed, 11 Nov 2015 14:33:18 +0000 (09:33 -0500)
committerThomas Fitzsimmons <fitzsim@fitzsim.org>
Thu, 18 Feb 2016 03:19:54 +0000 (22:19 -0500)
* url-http-ntlm.el (url-http-ntlm--last-args)
(url-http-ntlm--default-users, url-http-ntlm--get-challenge):
Shorten first line of documentation string.

packages/url-http-ntlm/url-http-ntlm.el

index 35f3c081de79f100f1bd89dbfadd3ce1ca61a87a..026a7391208aedcee1840da271a72312a73dce55 100644 (file)
@@ -61,7 +61,7 @@ hashes>\).
 The hashes are built using `ntlm-get-password-hashes'.")
 
 (defvar url-http-ntlm--last-args nil
-  "Stores the last `url-http-ntlm--get-stage' arguments and return value.
+  "The last `url-http-ntlm--get-stage' arguments and result.
 This is used to detect multiple calls.")
 (make-variable-buffer-local 'url-http-ntlm--last-args)
 
@@ -70,8 +70,7 @@ This is used to detect multiple calls.")
 Keys are urls, entries are (START-TIME . COUNTER).")
 
 (defvar url-http-ntlm--default-users nil
-  "An alist that maps each server to the default username for
-that server.")
+  "An alist that stores one default username per server.")
 
 \f
 ;;; Private functions.
@@ -224,7 +223,8 @@ stored credentials are not affected."
        stored))))
 
 (defun url-http-ntlm--get-challenge ()
-  "Return the NTLM Type-2 message in the WWW-Authenticate header, if present."
+  "Return the NTLM Type-2 message in the WWW-Authenticate header.
+Return nil if the NTLM Type-2 message is not present."
   (save-restriction
     (mail-narrow-to-head)
     (let ((www-authenticate (mail-fetch-field "www-authenticate")))