Variable: ffap-dired-wildcards

ffap-dired-wildcards is a customizable variable defined in ffap.el.gz.

Value

"[*?][^/]*\\'"

Documentation

A regexp matching filename wildcard characters, or nil.

If find-file-at-point gets a filename matching this pattern, and ffap-pass-wildcards-to-dired is nil, it passes it on to find-file with non-nil WILDCARDS argument, which expands wildcards and visits multiple files. To visit a file whose name contains wildcard characters you can suppress wildcard expansion by setting find-file-wildcards. If find-file-at-point gets a filename matching this pattern and ffap-pass-wildcards-to-dired is non-nil, it passes it on to dired.

If dired-at-point gets a filename matching this pattern, it passes it on to dired.

Source Code

;; Defined in /usr/src/emacs/lisp/ffap.el.gz
;;; Peanut Gallery (More User Variables):
;;
;; Users of ffap occasionally suggest new features.  If I consider
;; those features interesting but not clear winners (a matter of
;; personal taste) I try to leave options to enable them.  Read
;; through this section for features that you like, put an appropriate
;; enabler in your init file.

(defcustom ffap-dired-wildcards "[*?][^/]*\\'"
  "A regexp matching filename wildcard characters, or nil.

If `find-file-at-point' gets a filename matching this pattern,
and `ffap-pass-wildcards-to-dired' is nil, it passes it on to
`find-file' with non-nil WILDCARDS argument, which expands
wildcards and visits multiple files.  To visit a file whose name
contains wildcard characters you can suppress wildcard expansion
by setting `find-file-wildcards'.  If `find-file-at-point' gets a
filename matching this pattern and `ffap-pass-wildcards-to-dired'
is non-nil, it passes it on to `dired'.

If `dired-at-point' gets a filename matching this pattern,
it passes it on to `dired'."
  :type '(choice (const :tag "Disable" nil)
		 (const :tag "Enable" "[*?][^/]*\\'")
		 ;; regexp -- probably not useful
		 )
  :group 'ffap)