[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e8adf68 1/2: Remove duplicate lisp-eval-defun defin
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master e8adf68 1/2: Remove duplicate lisp-eval-defun definition |
Date: |
Thu, 13 Apr 2017 20:17:30 -0400 (EDT) |
branch: master
commit e8adf68824178ea25a5fda0c53233a42883de861
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Remove duplicate lisp-eval-defun definition
* lisp/emacs-lisp/lisp-mode.el (lisp-eval-defun):
Autoload rather than defining a stub.
---
lisp/emacs-lisp/lisp-mode.el | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index b7a5eb7..2e6e13f 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -725,11 +725,7 @@ or to switch back to an existing one."
;; Used in old LispM code.
(defalias 'common-lisp-mode 'lisp-mode)
-;; This will do unless inf-lisp.el is loaded.
-(defun lisp-eval-defun (&optional _and-go)
- "Send the current defun to the Lisp process made by \\[run-lisp]."
- (interactive)
- (error "Process lisp does not exist"))
+(autoload 'lisp-eval-defun "inf-lisp" nil t)
;; May still be used by some external Lisp-mode variant.
(define-obsolete-function-alias 'lisp-comment-indent