unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56233: 28.1; Typo in electric-pair-post-self-insert-function
@ 2022-06-26  7:39 Allen Li
  2022-06-26  8:15 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Allen Li @ 2022-06-26  7:39 UTC (permalink / raw)
  To: 56233

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

There is a typo in electric-pair-post-self-insert-function docstring.

Patch attached


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-elec-pair-Fix-docstring-typo.patch --]
[-- Type: text/x-patch, Size: 848 bytes --]

From bc8d7c1410841727e52eacbc01047f1df73383d2 Mon Sep 17 00:00:00 2001
From: Allen Li <darkfeline@felesatra.moe>
Date: Sun, 26 Jun 2022 00:37:07 -0700
Subject: [PATCH] elec-pair: Fix docstring typo

* lisp/elec-pair.el (electric-pair-post-self-insert-function): Fix typo.
---
 lisp/elec-pair.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el
index 231dcdeb98..fa4d6d9849 100644
--- a/lisp/elec-pair.el
+++ b/lisp/elec-pair.el
@@ -498,7 +498,7 @@ electric-pair-post-self-insert-function
   corresponding delimiter for C;
 
 * According to C alone, by looking C up in the tables
-  `electric-pair-paris' or `electric-pair-text-pairs' (which
+  `electric-pair-pairs' or `electric-pair-text-pairs' (which
   see);
 
 * According to C's syntax and the syntactic state of the buffer
-- 
2.36.1


[-- Attachment #3: Type: text/plain, Size: 1112 bytes --]


In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6)
 of 2022-04-27 built on frederik
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Arch Linux

Configured using:
 'configure --with-x-toolkit=gtk3 --with-native-compilation
 --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib
 --localstatedir=/var --with-cairo --with-harfbuzz --with-libsystemd
 --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt
 -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection -g
 -ffile-prefix-map=/build/emacs/src=/usr/src/debug -flto=auto'
 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

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

* bug#56233: 28.1; Typo in electric-pair-post-self-insert-function
  2022-06-26  7:39 bug#56233: 28.1; Typo in electric-pair-post-self-insert-function Allen Li
@ 2022-06-26  8:15 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-06-26  8:15 UTC (permalink / raw)
  To: Allen Li; +Cc: 56233-done

> From: Allen Li <darkfeline@felesatra.moe>
> Date: Sun, 26 Jun 2022 00:39:32 -0700
> 
> There is a typo in electric-pair-post-self-insert-function docstring.
> 
> Patch attached

Thanks, fixed on the emacs-28 branch.





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

end of thread, other threads:[~2022-06-26  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26  7:39 bug#56233: 28.1; Typo in electric-pair-post-self-insert-function Allen Li
2022-06-26  8:15 ` 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).