diff options
| author | Paul Eggert | 2015-01-03 18:28:35 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-01-03 18:29:23 -0800 |
| commit | cd2d58c1c81d608d6e1aefe1eb8a3d1f1cd60540 (patch) | |
| tree | b51ec05c439d54b7b8d4f4b74467ca04528838dd | |
| parent | d20f82e6f1ab902469723ebd530ca21bea9cc41b (diff) | |
| download | emacs-cd2d58c1c81d608d6e1aefe1eb8a3d1f1cd60540.tar.gz emacs-cd2d58c1c81d608d6e1aefe1eb8a3d1f1cd60540.zip | |
Less 'make' chatter in batch mode
* admin/unidata/unidata-gen.el (unidata-gen-files):
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
* lisp/files.el (save-buffer, basic-save-buffer):
* lisp/international/quail.el (quail-update-leim-list-file):
Don't output messages like "Generating ..." in batch mode.
| -rw-r--r-- | admin/ChangeLog | 6 | ||||
| -rw-r--r-- | admin/unidata/unidata-gen.el | 4 | ||||
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/emacs-lisp/autoload.el | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 | ||||
| -rw-r--r-- | lisp/files.el | 4 | ||||
| -rw-r--r-- | lisp/international/quail.el | 4 |
7 files changed, 25 insertions, 9 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index d7025657e78..2f4d122e0c0 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Less chatter in batch mode | ||
| 4 | * unidata/unidata-gen.el (unidata-gen-files): | ||
| 5 | Don't output messages like "Generating ..." in batch mode. | ||
| 6 | |||
| 1 | 2015-01-02 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2015-01-02 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | Less 'make' chatter for unidata | 9 | Less 'make' chatter for unidata |
diff --git a/admin/unidata/unidata-gen.el b/admin/unidata/unidata-gen.el index ca3bae1070a..8af6fa0dd72 100644 --- a/admin/unidata/unidata-gen.el +++ b/admin/unidata/unidata-gen.el | |||
| @@ -1329,7 +1329,7 @@ Property value is a symbol `o' (Open), `c' (Close), or `n' (None)." | |||
| 1329 | (insert (format "(define-char-code-property '%S %S\n %S)\n" | 1329 | (insert (format "(define-char-code-property '%S %S\n %S)\n" |
| 1330 | prop basename docstring)) | 1330 | prop basename docstring)) |
| 1331 | (with-temp-buffer | 1331 | (with-temp-buffer |
| 1332 | (message "Generating %s..." file) | 1332 | (or noninteractive (message "Generating %s..." file)) |
| 1333 | (when (file-exists-p file) | 1333 | (when (file-exists-p file) |
| 1334 | (insert-file-contents file) | 1334 | (insert-file-contents file) |
| 1335 | (goto-char (point-max)) | 1335 | (goto-char (point-max)) |
| @@ -1356,7 +1356,7 @@ Property value is a symbol `o' (Open), `c' (Close), or `n' (None)." | |||
| 1356 | ";; End:\n\n" | 1356 | ";; End:\n\n" |
| 1357 | (format ";; %s ends here\n" basename))) | 1357 | (format ";; %s ends here\n" basename))) |
| 1358 | (write-file file) | 1358 | (write-file file) |
| 1359 | (message "Generating %s...done" file)))) | 1359 | (or noninteractive (message "Generating %s...done" file))))) |
| 1360 | (message "Writing %s..." charprop-file) | 1360 | (message "Writing %s..." charprop-file) |
| 1361 | (insert ";; Local Variables:\n" | 1361 | (insert ";; Local Variables:\n" |
| 1362 | ";; coding: utf-8\n" | 1362 | ";; coding: utf-8\n" |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 77a7ec3ac00..2feb2af917f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Less 'make' chatter in batch mode | ||
| 4 | * emacs-lisp/autoload.el (autoload-generate-file-autoloads): | ||
| 5 | * emacs-lisp/bytecomp.el (byte-compile-file): | ||
| 6 | * files.el (save-buffer, basic-save-buffer): | ||
| 7 | * international/quail.el (quail-update-leim-list-file): | ||
| 8 | Don't output messages like "Generating ..." in batch mode. | ||
| 9 | |||
| 1 | 2015-01-04 Dmitry Gutov <dgutov@yandex.ru> | 10 | 2015-01-04 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 11 | ||
| 3 | Unbreak `mouse-action' property in text buttons. | 12 | Unbreak `mouse-action' property in text buttons. |
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index e9d13b86c29..073d923a178 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -539,7 +539,7 @@ Return non-nil if and only if FILE adds no autoloads to OUTFILE | |||
| 539 | (autoload-find-file file)) | 539 | (autoload-find-file file)) |
| 540 | ;; Obey the no-update-autoloads file local variable. | 540 | ;; Obey the no-update-autoloads file local variable. |
| 541 | (unless no-update-autoloads | 541 | (unless no-update-autoloads |
| 542 | (message "Generating autoloads for %s..." file) | 542 | (or noninteractive (message "Generating autoloads for %s..." file)) |
| 543 | (setq load-name | 543 | (setq load-name |
| 544 | (if (stringp generated-autoload-load-name) | 544 | (if (stringp generated-autoload-load-name) |
| 545 | generated-autoload-load-name | 545 | generated-autoload-load-name |
| @@ -623,7 +623,8 @@ Return non-nil if and only if FILE adds no autoloads to OUTFILE | |||
| 623 | (nth 5 (file-attributes relfile)))) | 623 | (nth 5 (file-attributes relfile)))) |
| 624 | (insert ";;; Generated autoloads from " relfile "\n"))) | 624 | (insert ";;; Generated autoloads from " relfile "\n"))) |
| 625 | (insert generate-autoload-section-trailer)))) | 625 | (insert generate-autoload-section-trailer)))) |
| 626 | (message "Generating autoloads for %s...done" file)) | 626 | (or noninteractive |
| 627 | (message "Generating autoloads for %s...done" file))) | ||
| 627 | (or visited | 628 | (or visited |
| 628 | ;; We created this buffer, so we should kill it. | 629 | ;; We created this buffer, so we should kill it. |
| 629 | (kill-buffer (current-buffer)))) | 630 | (kill-buffer (current-buffer)))) |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 4c694adfa23..1acd4fe76b2 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -1858,7 +1858,7 @@ The value is non-nil if there were no errors, nil if errors." | |||
| 1858 | ;; recompiled). Previously this was accomplished by | 1858 | ;; recompiled). Previously this was accomplished by |
| 1859 | ;; deleting target-file before writing it. | 1859 | ;; deleting target-file before writing it. |
| 1860 | (rename-file tempfile target-file t) | 1860 | (rename-file tempfile target-file t) |
| 1861 | (message "Wrote %s" target-file)) | 1861 | (or noninteractive (message "Wrote %s" target-file))) |
| 1862 | ;; This is just to give a better error message than write-region | 1862 | ;; This is just to give a better error message than write-region |
| 1863 | (signal 'file-error | 1863 | (signal 'file-error |
| 1864 | (list "Opening output file" | 1864 | (list "Opening output file" |
diff --git a/lisp/files.el b/lisp/files.el index 22362ca13ca..80b538c3267 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -4663,7 +4663,7 @@ See the subroutine `basic-save-buffer' for more information." | |||
| 4663 | ;; then Rmail-mbox never displays it due to buffer swapping. If | 4663 | ;; then Rmail-mbox never displays it due to buffer swapping. If |
| 4664 | ;; the test is ever re-introduced, be sure to handle saving of | 4664 | ;; the test is ever re-introduced, be sure to handle saving of |
| 4665 | ;; Rmail files. | 4665 | ;; Rmail files. |
| 4666 | (if (and modp (buffer-file-name)) | 4666 | (if (and modp (buffer-file-name) (not noninteractive)) |
| 4667 | (message "Saving file %s..." (buffer-file-name))) | 4667 | (message "Saving file %s..." (buffer-file-name))) |
| 4668 | (basic-save-buffer) | 4668 | (basic-save-buffer) |
| 4669 | (and modp (memq arg '(4 64)) (setq buffer-backed-up nil)))) | 4669 | (and modp (memq arg '(4 64)) (setq buffer-backed-up nil)))) |
| @@ -4805,7 +4805,7 @@ Before and after saving the buffer, this function runs | |||
| 4805 | ;; Support VC `implicit' locking. | 4805 | ;; Support VC `implicit' locking. |
| 4806 | (vc-after-save) | 4806 | (vc-after-save) |
| 4807 | (run-hooks 'after-save-hook)) | 4807 | (run-hooks 'after-save-hook)) |
| 4808 | (message "(No changes need to be saved)")))) | 4808 | (or noninteractive (message "(No changes need to be saved)"))))) |
| 4809 | 4809 | ||
| 4810 | ;; This does the "real job" of writing a buffer into its visited file | 4810 | ;; This does the "real job" of writing a buffer into its visited file |
| 4811 | ;; and making a backup file. This is what is normally done | 4811 | ;; and making a backup file. This is what is normally done |
diff --git a/lisp/international/quail.el b/lisp/international/quail.el index f194b93526e..2755fd68bef 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el | |||
| @@ -2985,7 +2985,7 @@ of each directory." | |||
| 2985 | quail-dirs list-buf pkg-list pos) | 2985 | quail-dirs list-buf pkg-list pos) |
| 2986 | (if (not (file-writable-p leim-list)) | 2986 | (if (not (file-writable-p leim-list)) |
| 2987 | (error "Can't write to file \"%s\"" leim-list)) | 2987 | (error "Can't write to file \"%s\"" leim-list)) |
| 2988 | (message "Updating %s ..." leim-list) | 2988 | (or noninteractive (message "Updating %s ..." leim-list)) |
| 2989 | (setq list-buf (find-file-noselect leim-list)) | 2989 | (setq list-buf (find-file-noselect leim-list)) |
| 2990 | 2990 | ||
| 2991 | ;; At first, clean up the file. | 2991 | ;; At first, clean up the file. |
| @@ -3077,7 +3077,7 @@ of each directory." | |||
| 3077 | (let ((coding-system-for-write 'utf-8)) | 3077 | (let ((coding-system-for-write 'utf-8)) |
| 3078 | (save-buffer 0))) | 3078 | (save-buffer 0))) |
| 3079 | (kill-buffer list-buf) | 3079 | (kill-buffer list-buf) |
| 3080 | (message "Updating %s ... done" leim-list))) | 3080 | (or noninteractive (message "Updating %s ... done" leim-list)))) |
| 3081 | 3081 | ||
| 3082 | (defun quail-advice (args) | 3082 | (defun quail-advice (args) |
| 3083 | "Advise users about the characters input by the current Quail package. | 3083 | "Advise users about the characters input by the current Quail package. |