unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#73487: [PATCH] ; * src/cm.c (cmgoto): Add function documentation
@ 2024-09-25 21:32 Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-09-26  7:22 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-09-25 21:32 UTC (permalink / raw)
  To: 73487

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

This proposed patch adds a function documentation where there was none.

Please install on master or provide feedback for further work.



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-src-cm.c-cmgoto-Add-function-documentation.patch --]
[-- Type: text/x-diff, Size: 606 bytes --]

From 436d482337ad1a88436973337650473e6d7ace41 Mon Sep 17 00:00:00 2001
From: Jeremy Bryant <jb@jeremybryant.net>
Date: Wed, 25 Sep 2024 22:28:04 +0100
Subject: [PATCH] ; * src/cm.c (cmgoto): Add function documentation

---
 src/cm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/cm.c b/src/cm.c
index ad419ce0af1..0832eaf84b5 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -317,6 +317,10 @@ #define	USEHOME	1
 #define	USELL	2
 #define	USECR	3
 
+/*
+ * Move the cursor to (row, col), by computing the optimal way.
+ */
+
 void
 cmgoto (struct tty_display_info *tty, int row, int col)
 {
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-27  6:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-25 21:32 bug#73487: [PATCH] ; * src/cm.c (cmgoto): Add function documentation Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-26  7:22 ` Eli Zaretskii
2024-09-26 21:54   ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-27  6:20     ` Eli Zaretskii

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).