|
@@ -709,8 +709,9 @@ line directly before or after the table."
|
|
(insert (org-plot/gnuplot-script table data-file num-cols params)))
|
|
(insert (org-plot/gnuplot-script table data-file num-cols params)))
|
|
;; Graph table.
|
|
;; Graph table.
|
|
(gnuplot-mode)
|
|
(gnuplot-mode)
|
|
- (ignore-error buffer-read-only
|
|
|
|
- (gnuplot-send-buffer-to-gnuplot)))
|
|
|
|
|
|
+ (condition-case nil
|
|
|
|
+ (gnuplot-send-buffer-to-gnuplot)
|
|
|
|
+ (buffer-read-only nil)))
|
|
;; Cleanup.
|
|
;; Cleanup.
|
|
(bury-buffer (get-buffer "*gnuplot*"))
|
|
(bury-buffer (get-buffer "*gnuplot*"))
|
|
;; Refresh any displayed images
|
|
;; Refresh any displayed images
|