diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2006-04-06 08:44:24 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2006-04-06 08:44:24 +0000 |
commit | 2b54c197fecaa595087af22336f8b48384400913 (patch) | |
tree | 77f4a534e1e798611cd2e458fc9f20292f9a59cb /lisp/woman.el | |
parent | f634ee8e35475bf3c60610130bce17fa333cac7f (diff) | |
download | emacs-2b54c197fecaa595087af22336f8b48384400913.tar.gz |
(WoMan-xref-man-page): Fix call to `substring'.
Diffstat (limited to 'lisp/woman.el')
-rw-r--r-- | lisp/woman.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/woman.el b/lisp/woman.el index 1aa5ce25716..2392d0bfa4c 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -381,7 +381,7 @@ ;; code fragments, general interest, etc.: ;; Jari Aalto <jari.aalto@cs.tpu.fi> ;; Dean Andrews <dean@dra.com> -;; Juanma Barranquero <barranquero@laley-actualidad.es> +;; Juanma Barranquero <lekktu@gmail.com> ;; Karl Berry <kb@cs.umb.edu> ;; Jim Chapman <jchapman@netcomuk.co.uk> ;; Kin Cho <kin@neoscale.com> @@ -426,14 +426,14 @@ (require 'man) (require 'button) -(define-button-type 'WoMan-xref-man-page +(define-button-type 'WoMan-xref-man-page :supertype 'Man-abstract-xref-man-page 'func (lambda (arg) (woman ;; `woman' cannot deal with arguments that contain a ;; section name, like close(2), so strip the section name. (if (string-match Man-reference-regexp arg) - (subqstring arg 0 (match-end 1)) + (substring arg 0 (match-end 1)) arg)))) (eval-when-compile ; to avoid compiler warnings |