We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8383e8 commit 5a72806Copy full SHA for 5a72806
gnuplot.el
@@ -321,7 +321,9 @@ Set VARIABLE to VALUE. ARGS is optional args."
321
(set variable value))
322
(gnuplot--setup-comint-for-image-mode))
323
324
-(defcustom gnuplot-inline-image-mode 'inline
+(defcustom gnuplot-inline-image-mode (and (display-graphic-p)
325
+ (image-type-available-p 'png)
326
+ 'inline)
327
"Whether to display Gnuplot output in Emacs.
328
329
Possible values are nil, `inline' and `dedicated'.
0 commit comments