From 87a8c36ffde9f0323371ab488b9850ade1e6527e Mon Sep 17 00:00:00 2001 From: john muhl Date: Mon, 15 Jul 2024 15:08:41 -0500 Subject: [PATCH] ; Fix typos (bug#72167) * lisp/progmodes/peg.el (peg--actions): Correct spelling of "post-processing". * lisp/progmodes/php-ts-mode.el: Correct spelling of "taken". (cherry picked from commit 7093504da2d7267cec1f6530b3cb234a5301012d) --- lisp/progmodes/peg.el | 2 +- lisp/progmodes/php-ts-mode.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/peg.el b/lisp/progmodes/peg.el index 6dedb6e4895..d19a48c3294 100644 --- a/lisp/progmodes/peg.el +++ b/lisp/progmodes/peg.el @@ -274,7 +274,7 @@ "Actions collected along the current parse. Used at runtime for backtracking. It's a list ((POS . THUNK)...). Each THUNK is executed at the corresponding POS. Thunks are -executed in a postprocessing step, not during parsing.") +executed in a post-processing step, not during parsing.") (defvar peg--errors nil "Data keeping track of the rightmost parse failure location. diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index 1298b39311b..89444f0208e 100644 --- a/lisp/progmodes/php-ts-mode.el +++ b/lisp/progmodes/php-ts-mode.el @@ -209,7 +209,7 @@ symbol." (when (derived-mode-p 'php-ts-mode) (php-ts-mode-set-style val))))) -;; teken from c-ts-mode +;; taken from c-ts-mode (defun php-ts-indent-style-safep (style) "Non-nil if STYLE's value is safe for file-local variables." (and (symbolp style) (not (functionp style)))) -- 2.39.5