Variable: grep-command-position

grep-command-position is a customizable variable defined in grep.el.gz.

Value

nil

Documentation

Where to put point when prompting for a grep command.

This controls the placement of point in the minibuffer when Emacs prompts for the grep command. If nil, put point at the end of the suggested command. If non-nil, this should be the one-based position in the minibuffer where to place point.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/grep.el.gz
(defcustom grep-command-position nil
  "Where to put point when prompting for a grep command.
This controls the placement of point in the minibuffer when Emacs
prompts for the grep command.  If nil, put point at the end of
the suggested command.  If non-nil, this should be the one-based
position in the minibuffer where to place point."
  :type '(choice (const :tag "At the end" nil)
                 natnum))