mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 06:31:34 -08:00
(command-line-1): --insert: Don't complain on --insert=file.
This commit is contained in:
parent
955093c9e8
commit
2d2aae549e
1 changed files with 2 additions and 2 deletions
|
|
@ -750,12 +750,12 @@ Type \\[describe-distribution] for information on getting the latest version."))
|
|||
(setq file (expand-file-name file)))
|
||||
(load file nil t)))
|
||||
((string-equal argi "-insert")
|
||||
(or (stringp (car command-line-args-left))
|
||||
(error "File name omitted from `-insert' option"))
|
||||
(if argval
|
||||
(setq tem argval)
|
||||
(setq tem (car command-line-args-left)
|
||||
command-line-args-left (cdr command-line-args-left)))
|
||||
(or (stringp tem)
|
||||
(error "File name omitted from `-insert' option"))
|
||||
(insert-file-contents tem))
|
||||
((string-equal argi "-kill")
|
||||
(kill-emacs t))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue