Variable: grep-use-null-filename-separator

grep-use-null-filename-separator is a customizable variable defined in grep.el.gz.

Value

auto-detect

Documentation

If non-nil, use greps --null option.

This is done to disambiguate file names in greps output.

This variable was added, or its default value changed, in Emacs 26.1.

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/grep.el.gz
(defcustom grep-use-null-filename-separator 'auto-detect
  "If non-nil, use `grep's `--null' option.
This is done to disambiguate file names in `grep's output."
  :version "26.1"
  :type '(choice (const :tag "Do Not Use `--null'" nil)
                 (const :tag "Use `--null'" t)
                 (other :tag "Not Set" auto-detect))
  :set #'grep-apply-setting)