Function: gnuplot-insert-filename
gnuplot-insert-filename is an interactive and natively compiled
function defined in gnuplot.el.
Signature
(gnuplot-insert-filename)
Documentation
Insert a filename at point, prompting for name in the minibuffer.
This inserts a filename relative to the buffer's default directory.
Uses completion and the value of gnuplot-quote-character.
Bound to M-x gnuplot-insert-filename (gnuplot-insert-filename)
Key Bindings
gnuplot-comint-mode-map C-c TAB gnuplot-mode-map C-c TAB
Source Code
;; Defined in /nix/store/xvcy7r1jiw71avhnh6kmin403kpqrdhc-emacs-packages-deps/share/emacs/site-lisp/elpa/gnuplot-20260623.1111/gnuplot.el
;;; --- miscellaneous functions: insert file name, indentation, negation
(defun gnuplot-insert-filename ()
"Insert a filename at point, prompting for name in the minibuffer.
This inserts a filename relative to the buffer's default directory.
Uses completion and the value of `gnuplot-quote-character'.
Bound to \\[gnuplot-insert-filename]"
(interactive nil gnuplot-mode gnuplot-comint-mode)
(insert gnuplot-quote-character
(file-relative-name (read-file-name "Filename > " "")
default-directory)
gnuplot-quote-character))