1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-18 03:40:47 -08:00

; Fix recent changes in documentation

* lisp/man.el (Man-header-file-path, man): Doc fix.

* etc/NEWS: Fix wording.
This commit is contained in:
Eli Zaretskii 2023-11-03 09:41:11 +02:00
parent 9867be2f6c
commit 12d1f33ceb
2 changed files with 9 additions and 8 deletions

View file

@ -693,10 +693,10 @@ asynchronously (which is the default behavior).
+++ +++
*** New user option 'Man-support-remote-systems'. *** New user option 'Man-support-remote-systems'.
This option controls whether the man page is taken from the remote This option controls whether the man page is formatted on the remote
system when the current buffer is remote. You can invoke the 'man' system when the current buffer's default-directory is remote. You can
command with a prefix argument to reverse the value of this option invoke the 'man' command with a prefix argument to countermand the
only for the current invocation. value of this option for the current invocation of 'man'.
** DocView ** DocView

View file

@ -583,10 +583,11 @@ Otherwise, the value is whatever the function
"/bin/sh")) "/bin/sh"))
(defun Man-header-file-path () (defun Man-header-file-path ()
"Return the C header file search path that Man uses. "Return the C header file search path that Man should use.
Normally, this is the value of the user option `Man-header-file-path', Normally, this is the value of the user option `Man-header-file-path',
but when the man page is retrieved from a remote system this but when the man page is formatted on a remote system (see
function tries to find the C header path on that system." `Man-support-remote-systems'), this function tries to figure out the
list of directories where the remote system has the C header files."
(let ((remote-id (file-remote-p default-directory))) (let ((remote-id (file-remote-p default-directory)))
(if (null remote-id) (if (null remote-id)
;; The local case. ;; The local case.
@ -1091,7 +1092,7 @@ to auto-complete your input based on the installed manual pages.
If `default-directory' is remote, and `Man-support-remote-systems' If `default-directory' is remote, and `Man-support-remote-systems'
is non-nil, this command formats the man page on the remote system. is non-nil, this command formats the man page on the remote system.
A prefix argument reverses the value of `Man-support-remote-systems' A prefix argument reverses the value of `Man-support-remote-systems'
for the current call." for the current invocation."
(interactive (interactive
(list (let* ((default-entry (Man-default-man-entry)) (list (let* ((default-entry (Man-default-man-entry))