(setq Man-filter-list
;; Avoid trailing nil which confuses customize.
- (apply 'list
+ (apply #'list
(cons
Man-sed-command
(if (eq system-type 'windows-nt)
section (match-string 1 ref))))
(if (string= name "")
;; see Bug#66390
- (mapconcat 'identity
+ (mapconcat #'identity
(mapcar #'shell-quote-argument
(split-string ref "\\s-+"))
" ") ; Return the reference as is
(if (string-match "-k " Man-arguments)
(progn
(Man-highlight-references0 nil Man-reference-regexp 1
- 'Man-default-man-entry
+ #'Man-default-man-entry
(or xref-man-type 'Man-xref-man-page))
(Man-highlight-references0 nil Man-apropos-regexp 1
- 'Man-default-man-entry
+ #'Man-default-man-entry
(or xref-man-type 'Man-xref-man-page)))
(Man-highlight-references0 Man-see-also-regexp Man-reference-regexp 1
- 'Man-default-man-entry
+ #'Man-default-man-entry
(or xref-man-type 'Man-xref-man-page))
(Man-highlight-references0 Man-synopsis-regexp Man-header-regexp 0 2
'Man-xref-header-file)
(defun Man-page-from-arguments (args)
;; Skip arguments and only print the page name.
(mapconcat
- 'identity
+ #'identity
(delete nil
(mapcar
(lambda (elem)
Man--last-refpage
(car Man--refpages))))
(defaults
- (mapcar 'substring-no-properties
+ (mapcar #'substring-no-properties
(cons default Man--refpages)))
(prompt (format-prompt "Refer to" default))
(chosen (completing-read prompt Man--refpages