gbranden pushed a commit to branch master
in repository groff.

commit 4753ce164f8787ef9f0a761bd3617a054a314fc8
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 23 14:20:33 2025 -0600

    src/roff/troff/env.cpp: Trivially refactor.
    
    * src/roff/troff/env.cpp:
      (add_hyphenation_exceptions): Rename this...
      (add_hyphenation_exception_words_request): ...to this.
    
      (init_hyphenation_pattern_requests): Update wiry-uppery.
---
 ChangeLog              | 7 +++++++
 src/roff/troff/env.cpp | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7c4019ca8..0c309199f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-11-23  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/env.cpp: Trivially refactor.
+       (add_hyphenation_exceptions): Rename this...
+       (add_hyphenation_exception_words_request): ...to this.
+       (init_hyphenation_pattern_requests): Update wiry-uppery.
+
 2025-11-23  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp (do_translate): Fix copy-and-paste
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 0301c7760..2270a84f0 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -3824,7 +3824,7 @@ void environment_switch()
 const int WORD_MAX = 256;      // we use unsigned char for offsets in
                                // hyphenation exceptions
 
-static void add_hyphenation_exceptions()
+static void add_hyphenation_exception_words_request()
 {
   if (!has_arg()) {
     warning(WARN_MISSING, "hyphenation exception word request expects"
@@ -4624,7 +4624,7 @@ void init_hyphenation_pattern_requests()
 {
   init_request("hpf", load_hyphenation_patterns_from_file);
   init_request("hpfa", append_hyphenation_patterns_from_file);
-  init_request("hw", add_hyphenation_exceptions);
+  init_request("hw", add_hyphenation_exception_words_request);
   init_request("phw", print_hyphenation_exceptions);
 }
 

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to