Function: authinfo--hide-passwords
authinfo--hide-passwords is a byte-compiled function defined in
auth-source.el.gz.
Signature
(authinfo--hide-passwords START END)
Source Code
;; Defined in /usr/src/emacs/lisp/auth-source.el.gz
(defun authinfo--hide-passwords (start end)
(save-excursion
(save-restriction
(narrow-to-region start end)
(goto-char start)
(while (re-search-forward (format "\\(\\s-\\|^\\)\\(%s\\)\\s-+"
authinfo-hidden)
nil t)
(when (auth-source-netrc-looking-at-token)
(let ((overlay (make-overlay (match-beginning 0) (match-end 0))))
(overlay-put overlay 'display
(propertize "****" 'face 'font-lock-doc-face))
(overlay-put overlay 'reveal-toggle-invisible
#'authinfo--toggle-display)))))))