all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: 60858@debbugs.gnu.org
Subject: bug#60858: [PATCH] src/w32fns.c: Quotes around w32-register-hot-key
Date: Mon, 16 Jan 2023 12:47:24 +0100	[thread overview]
Message-ID: <86358au2er.fsf@gnu.org> (raw)

Hi all,

is there a reason why the quotes around the above mentioned function are
like this:

  `w32-register-hot-key`

instead of the usual

  `w32-register-hot-key'

?  If this is a copy-paste issue, the following patch against the
release branch fixes it:

--8<---------------cut here---------------start------------->8---
diff --git a/src/w32fns.c b/src/w32fns.c
index 192d3ddf27a..7b1ffc6a6be 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -10664,7 +10664,7 @@ syms_of_w32fns (void)
 Properties" dialog, etc.  On Windows 10, no \"Windows\" key
 combinations are normally handed to applications.  To enable Emacs to
 process \"Windows\" key combinations, use the function
-`w32-register-hot-key`.
+`w32-register-hot-key'.

 For Windows 98/ME, see the doc string of `w32-phantom-key-code'.  */);
   Vw32_pass_lwindow_to_system = Qt;
@@ -10683,7 +10683,7 @@ syms_of_w32fns (void)
 Properties" dialog, etc.  On Windows 10, no \"Windows\" key
 combinations are normally handed to applications.  To enable Emacs to
 process \"Windows\" key combinations, use the function
-`w32-register-hot-key`.
+`w32-register-hot-key'.

 For Windows 98/ME, see the doc string of `w32-phantom-key-code'.  */);
   Vw32_pass_rwindow_to_system = Qt;
@@ -10698,7 +10698,7 @@ syms_of_w32fns (void)
 `w32-pass-rwindow-to-system' is nil.

 This variable is only used on Windows 98 and ME.  For other Windows
-versions, see the documentation of the `w32-register-hot-key`
+versions, see the documentation of the `w32-register-hot-key'
 function.  */);
   /* Although 255 is technically not a valid key code, it works and
      means that this hack won't interfere with any real key code.  */
@@ -10732,7 +10732,7 @@ syms_of_w32fns (void)
 respective modifier, or nil to appear as the `lwindow' key.
 Any other value will cause the key to be ignored.

-Also see the documentation of the `w32-register-hot-key` function.  */);
+Also see the documentation of the `w32-register-hot-key' function.  */);
   Vw32_lwindow_modifier = Qnil;

   DEFVAR_LISP ("w32-rwindow-modifier",
@@ -10742,7 +10742,7 @@ syms_of_w32fns (void)
 respective modifier, or nil to appear as the `rwindow' key.
 Any other value will cause the key to be ignored.

-Also see the documentation of the `w32-register-hot-key` function.  */);
+Also see the documentation of the `w32-register-hot-key' function.  */);
   Vw32_rwindow_modifier = Qnil;

   DEFVAR_LISP ("w32-apps-modifier",
--8<---------------cut here---------------end--------------->8---

Best, Arash





             reply	other threads:[~2023-01-16 11:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16 11:47 Arash Esbati [this message]
2023-01-16 14:02 ` bug#60858: [PATCH] src/w32fns.c: Quotes around w32-register-hot-key Eli Zaretskii
2023-01-16 14:47   ` Arash Esbati
2023-01-16 14:56     ` Eli Zaretskii
2023-01-16 15:00       ` Arash Esbati

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

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

  git send-email \
    --in-reply-to=86358au2er.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=60858@debbugs.gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.