Variable: smbclient-mode-map
smbclient-mode-map is a variable defined in net-utils.el.gz.
Value
Documentation
Keymap for smbclient-mode.
Source Code
;; Defined in /usr/src/emacs/lisp/net/net-utils.el.gz
(define-derived-mode smbclient-mode comint-mode "smbclient"
"Major mode for interacting with the smbclient program."
:interactive nil
(setq comint-prompt-regexp smbclient-prompt-regexp)
(setq comint-input-autoexpand t)
;; Only add the password-prompting hook if it's not already in the
;; global hook list. This stands a small chance of losing, if it's
;; later removed from the global list (very small, since any
;; password prompts will probably immediately follow the initial
;; connection), but it's better than getting prompted twice for the
;; same password.
(unless (memq #'comint-watch-for-password-prompt
(default-value 'comint-output-filter-functions))
(add-hook 'comint-output-filter-functions #'comint-watch-for-password-prompt
nil t)))