unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 61736@debbugs.gnu.org
Subject: bug#61736: Fix typos in docstrings in c-ts-common.el
Date: Thu, 23 Feb 2023 18:32:58 +0100	[thread overview]
Message-ID: <m1a614qoc5.fsf@yahoo.es> (raw)
In-Reply-To: m1a614qoc5.fsf.ref@yahoo.es

[-- Attachment #1: Type: text/plain, Size: 81 bytes --]

Tags: patch


I've attached a patch to fix a couple of typos in c-ts-common.el.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-typos-in-docstrings-in-c-ts-common.el.patch --]
[-- Type: text/patch, Size: 1231 bytes --]

From 3f110b0f7de1bd1f1e00b39fc48608ef9ef189c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <mardani29@yahoo.es>
Date: Thu, 23 Feb 2023 18:30:36 +0100
Subject: [PATCH] ; Fix typos in docstrings in c-ts-common.el

---
 lisp/progmodes/c-ts-common.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el
index 8262e6261d4..55a6ab64aa3 100644
--- a/lisp/progmodes/c-ts-common.el
+++ b/lisp/progmodes/c-ts-common.el
@@ -268,7 +268,7 @@ c-ts-common-indent-offset
 statement indent functions to work.")
 
 (defvar c-ts-common-indent-type-regexp-alist nil
-  "An alist of of node type regexps.
+  "An alist of node type regexps.
 
 Each key in the alist is one of `if', `else', `do', `while',
 `for', `block', `close-bracket'.  Each value in the alist
@@ -313,7 +313,7 @@ c-ts-common--node-is
     nil))
 
 (defun c-ts-common-statement-offset (node parent &rest _)
-  "This anchor is used for children of a statement inside a block.
+  "Return an offset for children of a statement inside a block.
 
 This function basically counts the number of block nodes (i.e.,
 brackets) (defined by `c-ts-common-indent-block-type-regexp')
-- 
2.34.1


       reply	other threads:[~2023-02-23 17:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m1a614qoc5.fsf.ref@yahoo.es>
2023-02-23 17:32 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-02-23 17:52   ` bug#61736: Fix typos in docstrings in c-ts-common.el Eli Zaretskii
2023-02-25  4:50   ` Yuan Fu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1a614qoc5.fsf@yahoo.es \
    --to=bug-gnu-emacs@gnu.org \
    --cc=61736@debbugs.gnu.org \
    --cc=mardani29@yahoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).