Skip to content

Commit

Permalink
use a defsubst instead of defmacro in debug-context
Browse files Browse the repository at this point in the history
  • Loading branch information
joddie committed Oct 11, 2012
1 parent 2dc71de commit c97f028
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions gnuplot-debug-context.el
Expand Up @@ -24,13 +24,13 @@
(require 'gnuplot-debug-context))
(require 'gnuplot-context)))

(defmacro gnuplot-recompile ()
'(save-current-buffer
(save-window-excursion
(find-file "gnuplot-context.el")
(delete-file "gnuplot-context.elc")
(emacs-lisp-byte-compile)
(load-file "gnuplot-context.elc"))))
(defsubst gnuplot-recompile ()
(save-current-buffer
(save-window-excursion
(find-file "gnuplot-context.el")
(delete-file "gnuplot-context.elc")
(emacs-lisp-byte-compile)
(load-file "gnuplot-context.elc"))))

(defun gnuplot-nodebug ()
(interactive)
Expand Down
2 changes: 1 addition & 1 deletion gnuplot-gui.el
Expand Up @@ -86,7 +86,7 @@
(require 'wid-edit))
(error nil)))
(require 'cl)
(eval-when-compile ; suppress some compiler warnings
(eval-when-compile ; suppress some compiler warnings
(defvar gnuplot-xemacs-p nil)
(defvar gnuplot-quote-character nil)
(defvar gnuplot-info-display nil)
Expand Down

0 comments on commit c97f028

Please sign in to comment.