branch: elpa/gnuplot
commit 71e317486d4f745c7ca75ec448f73fa5390064e7
Author: joddie <[email protected]>
Commit: joddie <[email protected]>

    Remove un-needed run-after-load hackery
---
 gnuplot.el | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/gnuplot.el b/gnuplot.el
index a384c98..36be805 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -391,12 +391,6 @@ real work."
       (= (window-height window)
         (window-height (frame-root-window (window-frame window))))))
 
-;; Workaround for differing eval-after-load behavior
-(defun gnuplot--run-after-load (fun)
-  (if (featurep 'gnuplot)
-      (funcall fun)
-    (add-hook 'gnuplot-load-hook fun)))
-
 ;; Workaround obsolete `process-kill-without-query'
 (if (fboundp 'set-process-query-on-exit-flag)
     (defalias 'gnuplot-set-process-query-on-exit-flag 
'set-process-query-on-exit-flag)

Reply via email to