defuns-lisp.el => defuns-elisp.el

This commit is contained in:
Henrik Lissner 2016-05-24 21:57:46 -04:00
parent bf81fdeba9
commit 99e2e4c5ea

View file

@ -1,4 +1,9 @@
;;; defuns-lisp.el ;;; defuns-elisp.el
;;;###autoload (autoload 'doom:byte-compile "defuns-elisp" nil t)
(evil-define-command doom:byte-compile (&optional bang)
(interactive "<!>")
(if bang (doom-byte-compile) (byte-compile-file buffer-file-name)))
;;;###autoload ;;;###autoload
(defun doom/elisp-find-function-at-pt () (defun doom/elisp-find-function-at-pt ()
@ -12,7 +17,7 @@
(let ((func (function-called-at-point))) (let ((func (function-called-at-point)))
(if func (find-function-other-window func)))) (if func (find-function-other-window func))))
(defun doom--ert-pre () (defsubst doom--ert-pre ()
(save-buffer) (save-buffer)
(eval-buffer)) (eval-buffer))
@ -51,5 +56,5 @@
(bury-buffer) (bury-buffer)
(pop-to-buffer buf))) (pop-to-buffer buf)))
(provide 'defuns-lisp) (provide 'defuns-elisp)
;;; defuns-lisp.el ends here ;;; defuns-elisp.el ends here