bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19694: 24.4; --insert command-line switch does not behave as documen


From: Eli Zaretskii
Subject: bug#19694: 24.4; --insert command-line switch does not behave as documented
Date: Mon, 26 Jan 2015 19:44:01 +0200

> Date: Sun, 25 Jan 2015 21:48:33 -0600
> From: vampyrebat@gmail.com
> 
> The emacs info manual states that the command-line option --insert=FILE
> will "Insert the contents of FILE into the `*scratch*' buffer."
> However, whether this option works as documented depends on where it
> appears in the command line.  Thus:
> 
> emacs --insert=file1 file2
> 
> brings up file2 in a buffer with that name, and places the contents of
> file1 in *scratch*, as documented.  But:
> 
> emacs file1 --insert=file2
> 
> which the documentation states should put file1 in a buffer with that
> name and the contents of file2 in *scratch*, instead brings up a buffer
> with file1's name, containing the contents of file2 followed by the
> contents of file1, and leaves *scratch* empty.

Thanks, I fixed the manual.  ("emacs --help" described this option
correctly.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]