aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-01-12 04:55:35 +0000
committerRichard M. Stallman1994-01-12 04:55:35 +0000
commit75067849bfbfeeeced948e09960cf73206986472 (patch)
tree5a8f4e1a50286156264c405744456934107318af
parent817b371ce04c3fa7b0cbb8dbd20323760781022a (diff)
downloademacs-75067849bfbfeeeced948e09960cf73206986472.tar.gz
emacs-75067849bfbfeeeced948e09960cf73206986472.zip
(Man-default-man-args): Use Man-specified-section-option.
(Man-default-man-entry): Likewise.
-rw-r--r--lisp/man.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 06a708eb5ab..fa514efda05 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -360,7 +360,9 @@ the current column instead of character position."
360 (cond 360 (cond
361 ((null sections) manword) 361 ((null sections) manword)
362 ((consp sections) 362 ((consp sections)
363 (mapconcat (lambda (n) (concat n " " manword)) sections " ")) 363 (mapconcat (lambda (n) (concat Man-specified-section-option
364 n " " manword))
365 sections " "))
364 (t 366 (t
365 (concat sections " " manword))))) 367 (concat sections " " manword)))))
366 368
@@ -388,7 +390,8 @@ default section number is selected from `Man-auto-section-alist'."
388 (if (looking-at "[ \t]*([ \t]*[0-9][a-zA-Z]?[ \t]*)") 390 (if (looking-at "[ \t]*([ \t]*[0-9][a-zA-Z]?[ \t]*)")
389 (progn (skip-chars-forward "^0-9") 391 (progn (skip-chars-forward "^0-9")
390 (setq default-title 392 (setq default-title
391 (concat (buffer-substring 393 (concat Man-specified-section-option
394 (buffer-substring
392 (point) 395 (point)
393 (progn 396 (progn
394 (skip-chars-forward "0-9a-zA-Z") 397 (skip-chars-forward "0-9a-zA-Z")