From 8d5d7509b0a2c248084fa349b0b188d4de4af804 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 2 Mar 2023 13:28:28 +0200 Subject: [PATCH] ; Fix last change * doc/emacs/programs.texi (Man Page): Improve wording. * lisp/man.el (Man-prefer-synchronous-call): Fix quoting and spelling. (Bug#61552) --- doc/emacs/programs.texi | 6 +++--- etc/NEWS | 2 +- lisp/man.el | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index c6c67047c43..62df88a731e 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -1389,9 +1389,9 @@ line shows how many manual pages are available. @vindex Man-prefer-synchronous-call By default, @kbd{M-x man} calls the @code{man} program -asynchronously. If you would prefer it if @kbd{M-x man} called the -@code{man} program synchronously, you may set variable -@code{Man-prefer-synchronous-calls} to a non-@code{nil} value. +asynchronously. You can force the invocation to be synchronous by +customizing @code{Man-prefer-synchronous-calls} to a non-@code{nil} +value. @findex woman @cindex manual pages, on MS-DOS/MS-Windows diff --git a/etc/NEWS b/etc/NEWS index 744eab41558..116b60d8b11 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -206,7 +206,7 @@ bound to 'C-c C-d' in 'go-ts-mode'. +++ *** New user option 'Man-prefer-synchronous-call'. When this is non-nil, call the 'man' program synchronously rather than -asynchronously, which is the default behaviour. +asynchronously (which is the default behavior). * New Modes and Packages in Emacs 30.1 diff --git a/lisp/man.el b/lisp/man.el index 5e5c10aac36..3ab9aa5b4dd 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -98,9 +98,9 @@ :group 'help) (defcustom Man-prefer-synchronous-call nil - "Whether to call the Un*x 'man' program synchronously. -When this is non-nil, call the 'man' program synchronously -(rather than asynchronously, which is the default behaviour)." + "Whether to call the Un*x \"man\" program synchronously. +When this is non-nil, call the \"man\" program synchronously +(rather than asynchronously, which is the default behavior)." :type 'boolean :group 'man :version 30.1) -- 2.39.5