diff options
| author | Lars Ingebrigtsen | 2019-08-01 23:16:24 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-01 23:16:37 +0200 |
| commit | 51cf2eb5c981b7e05a3329564753bcb61e4d5b07 (patch) | |
| tree | 10abdc9af1a4cc600abe29081264d8ca70e903be | |
| parent | 0a7e131ce46eec2b0e799d39cc0dc3d743897e60 (diff) | |
| download | emacs-51cf2eb5c981b7e05a3329564753bcb61e4d5b07.tar.gz emacs-51cf2eb5c981b7e05a3329564753bcb61e4d5b07.zip | |
Document batch-byte-compile directory behavior
* lisp/emacs-lisp/bytecomp.el (batch-byte-compile): Document the
behaviour with directories (bug#20867).
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 6dcd4c6846a..40b4e2f4671 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -5091,8 +5091,15 @@ it won't work in an interactive Emacs." | |||
| 5091 | "Run `byte-compile-file' on the files remaining on the command line. | 5091 | "Run `byte-compile-file' on the files remaining on the command line. |
| 5092 | Use this from the command line, with `-batch'; | 5092 | Use this from the command line, with `-batch'; |
| 5093 | it won't work in an interactive Emacs. | 5093 | it won't work in an interactive Emacs. |
| 5094 | Each file is processed even if an error occurred previously. | 5094 | |
| 5095 | Each file is processed even if an error occurred previously. If | ||
| 5096 | a file name denotes a directory, all Emacs Lisp source files in | ||
| 5097 | that directory (that have previously been compiled) will be | ||
| 5098 | recompiled if newer than the compiled files. In this case, | ||
| 5099 | NOFORCE is ignored. | ||
| 5100 | |||
| 5095 | For example, invoke \"emacs -batch -f batch-byte-compile $emacs/ ~/*.el\". | 5101 | For example, invoke \"emacs -batch -f batch-byte-compile $emacs/ ~/*.el\". |
| 5102 | |||
| 5096 | If NOFORCE is non-nil, don't recompile a file that seems to be | 5103 | If NOFORCE is non-nil, don't recompile a file that seems to be |
| 5097 | already up-to-date." | 5104 | already up-to-date." |
| 5098 | ;; command-line-args-left is what is left of the command line, from | 5105 | ;; command-line-args-left is what is left of the command line, from |