diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/startup.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 61b56e7babf..ca71ef43137 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1635,6 +1635,13 @@ normal otherwise." | |||
| 1635 | (setq file file-ex)) | 1635 | (setq file file-ex)) |
| 1636 | (load file nil t))) | 1636 | (load file nil t))) |
| 1637 | 1637 | ||
| 1638 | ((member argi '("-scriptload")) | ||
| 1639 | (let* ((file (command-line-normalize-file-name | ||
| 1640 | (or argval (pop command-line-args-left)))) | ||
| 1641 | ;; Take file from default dir. | ||
| 1642 | (file-ex (expand-file-name file))) | ||
| 1643 | (load file-ex nil t t))) | ||
| 1644 | |||
| 1638 | ((equal argi "-insert") | 1645 | ((equal argi "-insert") |
| 1639 | (setq tem (or argval (pop command-line-args-left))) | 1646 | (setq tem (or argval (pop command-line-args-left))) |
| 1640 | (or (stringp tem) | 1647 | (or (stringp tem) |