Mercurial > emacs
comparison lisp/woman.el @ 90381:65ca8fb66a0d
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-54
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 190-203)
- Update from CVS
- Undo incorrect merge of etc/images/README from Gnus 5.10
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 74-80)
- Update from CVS
- Update from CVS: README: Addition from 5.10.6 tar ball.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 09 Apr 2006 00:38:22 +0000 |
parents | c5406394f567 a77e27984bb1 |
children | c358d0861b16 |
comparison
equal
deleted
inserted
replaced
90380:4bf7966e0788 | 90381:65ca8fb66a0d |
---|---|
379 | 379 |
380 ;; I also thank the following for helpful suggestions, bug reports, | 380 ;; I also thank the following for helpful suggestions, bug reports, |
381 ;; code fragments, general interest, etc.: | 381 ;; code fragments, general interest, etc.: |
382 ;; Jari Aalto <jari.aalto@cs.tpu.fi> | 382 ;; Jari Aalto <jari.aalto@cs.tpu.fi> |
383 ;; Dean Andrews <dean@dra.com> | 383 ;; Dean Andrews <dean@dra.com> |
384 ;; Juanma Barranquero <barranquero@laley-actualidad.es> | 384 ;; Juanma Barranquero <lekktu@gmail.com> |
385 ;; Karl Berry <kb@cs.umb.edu> | 385 ;; Karl Berry <kb@cs.umb.edu> |
386 ;; Jim Chapman <jchapman@netcomuk.co.uk> | 386 ;; Jim Chapman <jchapman@netcomuk.co.uk> |
387 ;; Kin Cho <kin@neoscale.com> | 387 ;; Kin Cho <kin@neoscale.com> |
388 ;; Frederic Corne <frederic.corne@erli.fr> | 388 ;; Frederic Corne <frederic.corne@erli.fr> |
389 ;; Peter Craft <craft@alacritech.com> | 389 ;; Peter Craft <craft@alacritech.com> |
424 | 424 |
425 (defvar woman-version "0.551 (beta)" "WoMan version information.") | 425 (defvar woman-version "0.551 (beta)" "WoMan version information.") |
426 | 426 |
427 (require 'man) | 427 (require 'man) |
428 (require 'button) | 428 (require 'button) |
429 (define-button-type 'WoMan-xref-man-page | 429 (define-button-type 'WoMan-xref-man-page |
430 :supertype 'Man-abstract-xref-man-page | 430 :supertype 'Man-abstract-xref-man-page |
431 'func 'woman) | 431 'func (lambda (arg) |
432 (woman | |
433 ;; `woman' cannot deal with arguments that contain a | |
434 ;; section name, like close(2), so strip the section name. | |
435 (if (string-match Man-reference-regexp arg) | |
436 (substring arg 0 (match-end 1)) | |
437 arg)))) | |
432 | 438 |
433 (eval-when-compile ; to avoid compiler warnings | 439 (eval-when-compile ; to avoid compiler warnings |
434 (require 'dired) | 440 (require 'dired) |
435 (require 'apropos)) | 441 (require 'apropos)) |
436 | 442 |