summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-09-15 12:13:25 +0200
committerAndrea Corallo <akrl@sdf.org>2020-09-15 16:21:11 +0200
commit72e2c1e6e694cec3846524eeafc2751d4ce15964 (patch)
treee12f5661b1395e7b263a70fdae60a6bcbc10bbd1 /src/emacs.c
parent66a5fa931cd437078d3fdd94fdbd78daf66f485f (diff)
downloademacs-scratch/modern-mode.tar.gz
Add 'modern-mode' command line optionscratch/modern-mode
* src/emacs.c (standard_args): Add: '-m' '-modern' '--modern' cmd line option. * lisp/startup.el (command-line-1): Handle modern-mode cmd line option.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 059e1c6d8f0..bde2a9229a9 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2130,6 +2130,8 @@ static const struct standard_args standard_args[] =
{ "-color", "--color", 5, 0},
{ "-no-splash", "--no-splash", 3, 0 },
{ "-no-desktop", "--no-desktop", 3, 0 },
+ { "-m", "--modern", 0, 0 },
+ { "-modern", 0, 0, 0 },
/* The following two must be just above the file-name args, to get
them out of our way, but without mixing them with file names. */
{ "-temacs", "--temacs", 1, 1 },