gbranden pushed a commit to branch master
in repository groff.
commit 35afd373bf384d74c266be00c3d6457c96ab1a46
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jul 6 05:52:28 2025 -0500
[eqn]: Actually honor `-R` option.
* src/preproc/eqn/main.cpp (main): Actually set `want_startup_file` to
`false` when `-R` option is seen. Problem introduced by me in commit
d22a547b9b, 27 August 2023.
---
ChangeLog | 6 ++++++
src/preproc/eqn/main.cpp | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index c53818342..9ef82683a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-07-06 G. Branden Robinson <[email protected]>
+
+ * src/preproc/eqn/main.cpp (main): Actually set
+ `want_startup_file` to `false` when `-R` option is seen.
+ Problem introduced by me in commit d22a547b9b, 27 August 2023.
+
2025-07-05 G. Branden Robinson <[email protected]>
[pic]: Adjust new polygon feature. Adopt the term "reference
diff --git a/src/preproc/eqn/main.cpp b/src/preproc/eqn/main.cpp
index 35f7a0550..d9759251c 100644
--- a/src/preproc/eqn/main.cpp
+++ b/src/preproc/eqn/main.cpp
@@ -350,7 +350,7 @@ int main(int argc, char **argv)
compatible_flag = 1;
break;
case 'R': // don't load eqnrc
- want_startup_file = true;
+ want_startup_file = false;
break;
case 'M':
config_macro_path.command_line_dir(optarg);
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit