[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master a2f7cc3: Define --module-assertions only of modules
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master a2f7cc3: Define --module-assertions only of modules are available |
Date: |
Wed, 14 Jun 2017 04:47:39 -0400 (EDT) |
branch: master
commit a2f7cc3499a0d5132bf075aa0da87121be1ed178
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
Define --module-assertions only of modules are available
Fixes Bug#27352.
* src/emacs.c (usage_message, standard_args): Define
--module-assertions only if Emacs has been compiled with module
support.
---
src/emacs.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/emacs.c b/src/emacs.c
index b0892c7..da8df1b 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -223,8 +223,12 @@ Initialization options:\n\
--fg-daemon[=NAME] start a (named) server in the foreground\n\
--debug-init enable Emacs Lisp debugger for init file\n\
--display, -d DISPLAY use X server DISPLAY\n\
+",
+#ifdef HAVE_MODULES
+ "\
--module-assertions assert behavior of dynamic modules\n\
",
+#endif
"\
--no-build-details do not add build details such as time stamps\n\
--no-desktop do not load a saved desktop\n\
@@ -1733,7 +1737,9 @@ static const struct standard_args standard_args[] =
{ "-nl", "--no-loadup", 70, 0 },
{ "-nsl", "--no-site-lisp", 65, 0 },
{ "-no-build-details", "--no-build-details", 63, 0 },
+#ifdef HAVE_MODULES
{ "-module-assertions", "--module-assertions", 62, 0 },
+#endif
/* -d must come last before the options handled in startup.el. */
{ "-d", "--display", 60, 1 },
{ "-display", 0, 60, 1 },
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master a2f7cc3: Define --module-assertions only of modules are available,
Philipp Stephani <=