Skip to content

Commit 803033e

Browse files
committed
Rename run-gnuplot to gnuplot-run
1 parent e1d32b8 commit 803033e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

gnuplot.el

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
(make-obsolete-variable
117117
'gnuplot-load-hook
118118
"The package loading hook has been removed, use `with-eval-after-load' instead."
119-
"8.0")
119+
"0.8.0")
120120

121121
(defcustom gnuplot-after-plot-hook (list #'gnuplot-trim-gnuplot-buffer)
122122
"Hook run after gnuplot plots something.
@@ -2143,13 +2143,15 @@ following in your .emacs file:
21432143
(gnuplot-mode))
21442144

21452145
;;;###autoload
2146-
;;; TODO Rename to gnuplot-run-gnuplot
2147-
(defun run-gnuplot ()
2146+
(defun gnuplot-run ()
21482147
"Run an inferior Gnuplot process."
21492148
(interactive)
21502149
(gnuplot-make-gnuplot-buffer)
21512150
(pop-to-buffer gnuplot-buffer))
21522151

2152+
;;;###autoload
2153+
(define-obsolete-function-alias 'run-gnuplot 'gnuplot-run "0.8.0")
2154+
21532155
;;; That's it! ----------------------------------------------------------------
21542156

21552157
(provide 'gnuplot)

0 commit comments

Comments
 (0)