diff options
| author | Andrea Corallo | 2024-05-31 17:00:50 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2024-06-03 17:55:16 +0200 |
| commit | e39e96c9b93cf99d50f99f3e0593cbfbf0ac758d (patch) | |
| tree | 36e982bc3bfeb99cb43b3a7f8070009448f92bf1 | |
| parent | 876bd6506d78392d7f6b8d13df678da21ad05af9 (diff) | |
| download | emacs-e39e96c9b93cf99d50f99f3e0593cbfbf0ac758d.tar.gz emacs-e39e96c9b93cf99d50f99f3e0593cbfbf0ac758d.zip | |
* lisp/emacs-lisp/comp.el (native-compile): Type declare.
| -rw-r--r-- | lisp/emacs-lisp/comp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 32d4442ca1b..1627294199a 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el | |||
| @@ -3583,6 +3583,8 @@ is a filename, if the compilation was successful return the | |||
| 3583 | filename of the compiled object. If FUNCTION-OR-FILE is a | 3583 | filename of the compiled object. If FUNCTION-OR-FILE is a |
| 3584 | function symbol or a form, if the compilation was successful | 3584 | function symbol or a form, if the compilation was successful |
| 3585 | return the compiled function." | 3585 | return the compiled function." |
| 3586 | (declare (ftype (function ((or string symbol) &optional string) | ||
| 3587 | (or native-comp-function string)))) | ||
| 3586 | (comp--native-compile function-or-file nil output)) | 3588 | (comp--native-compile function-or-file nil output)) |
| 3587 | 3589 | ||
| 3588 | ;;;###autoload | 3590 | ;;;###autoload |