diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2007-11-26 15:37:00 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2007-11-26 15:37:00 +0000 |
commit | 2867910524be26279744d54d04ced7b4134eb7b6 (patch) | |
tree | 4ff1e4212000811c4e873758110cc56141240fdd /lisp | |
parent | dd9b0004426c5ad2603d606466a8d79ab80888af (diff) | |
download | emacs-2867910524be26279744d54d04ced7b4134eb7b6.tar.gz |
(batch-byte-recompile-directory): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 56c5a9cc35c..8668630578f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2007-11-26 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/bytecomp.el (batch-byte-recompile-directory): Doc fix. + 2007-11-24 Kenichi Handa <handa@m17n.org> * international/ucs-tables.el (ucs-8859-7-alist): Update the table. diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 493977304b1..032b37cb00f 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -974,7 +974,7 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'." (pos (if (and byte-compile-current-file (integerp byte-compile-read-position)) (with-current-buffer byte-compile-current-buffer - (format "%d:%d:" + (format "%d:%d:" (save-excursion (goto-char byte-compile-last-position) (1+ (count-lines (point-min) (point-at-bol)))) @@ -1657,7 +1657,7 @@ The value is non-nil if there were no errors, nil if errors." byte-compile-dest-file) (setq target-file (byte-compile-dest-file filename)) (setq byte-compile-dest-file target-file) - (with-current-buffer + (with-current-buffer (setq input-buffer (get-buffer-create " *Compiler Input*")) (erase-buffer) (setq buffer-file-coding-system nil) @@ -4185,7 +4185,7 @@ Must be used only with `-batch', and kills Emacs on completion. For example, invoke `emacs -batch -f batch-byte-recompile-directory .'. Optional argument ARG is passed as second argument ARG to -`batch-recompile-directory'; see there for its possible values +`byte-recompile-directory'; see there for its possible values and corresponding effects." ;; command-line-args-left is what is left of the command line (startup.el) (defvar command-line-args-left) ;Avoid 'free variable' warning |