Variable: comint-completion-addsuffix

comint-completion-addsuffix is a customizable variable defined in comint.el.gz.

Value

t

Documentation

If non-nil, add to file names.

It can either be a string FILESUFFIX or a cons (DIRSUFFIX . FILESUFFIX) where DIRSUFFIX is ignored and FILESUFFIX is a string added on unambiguous or exact completion. This mirrors the optional behavior of tcsh.

View in manual

Probably introduced at or before Emacs version 19.23.

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defcustom comint-completion-addsuffix t
  "If non-nil, add ` ' to file names.
It can either be a string FILESUFFIX or a cons (DIRSUFFIX . FILESUFFIX)
where DIRSUFFIX is ignored and FILESUFFIX is a string added on unambiguous
or exact completion.
This mirrors the optional behavior of tcsh."
  :type '(choice (const :tag "None" nil)
		 (const :tag "Add SPC" t)
                 (string :tag "File suffix")
		 (cons :tag "Obsolete suffix pair"
		       (string :tag "Ignored")
		       (string :tag "File suffix")))
  :group 'comint-completion)