diff options
| author | Glenn Morris | 2017-04-13 20:15:34 -0400 |
|---|---|---|
| committer | Glenn Morris | 2017-04-13 20:15:34 -0400 |
| commit | e8adf68824178ea25a5fda0c53233a42883de861 (patch) | |
| tree | d94bf793a8ebb63671f35eb2442a10ad90cfe8c6 | |
| parent | 393228bd7a96b121f2ffba5fb7072a6cbf5ecefd (diff) | |
| download | emacs-e8adf68824178ea25a5fda0c53233a42883de861.tar.gz emacs-e8adf68824178ea25a5fda0c53233a42883de861.zip | |
Remove duplicate lisp-eval-defun definition
* lisp/emacs-lisp/lisp-mode.el (lisp-eval-defun):
Autoload rather than defining a stub.
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index b7a5eb774da..2e6e13f1dd1 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." | |||
| 725 | ;; Used in old LispM code. | 725 | ;; Used in old LispM code. |
| 726 | (defalias 'common-lisp-mode 'lisp-mode) | 726 | (defalias 'common-lisp-mode 'lisp-mode) |
| 727 | 727 | ||
| 728 | ;; This will do unless inf-lisp.el is loaded. | 728 | (autoload 'lisp-eval-defun "inf-lisp" nil t) |
| 729 | (defun lisp-eval-defun (&optional _and-go) | ||
| 730 | "Send the current defun to the Lisp process made by \\[run-lisp]." | ||
| 731 | (interactive) | ||
| 732 | (error "Process lisp does not exist")) | ||
| 733 | 729 | ||
| 734 | ;; May still be used by some external Lisp-mode variant. | 730 | ;; May still be used by some external Lisp-mode variant. |
| 735 | (define-obsolete-function-alias 'lisp-comment-indent | 731 | (define-obsolete-function-alias 'lisp-comment-indent |