aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/woman.el
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2006-04-06 08:44:24 +0000
committerJuanma Barranquero <[email protected]>2006-04-06 08:44:24 +0000
commit2b54c197fecaa595087af22336f8b48384400913 (patch)
tree77f4a534e1e798611cd2e458fc9f20292f9a59cb /lisp/woman.el
parentf634ee8e35475bf3c60610130bce17fa333cac7f (diff)
(WoMan-xref-man-page): Fix call to `substring'.
Diffstat (limited to 'lisp/woman.el')
-rw-r--r--lisp/woman.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/woman.el b/lisp/woman.el
index 1aa5ce2571..2392d0bfa4 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -381,7 +381,7 @@
;; code fragments, general interest, etc.:
;; Jari Aalto <[email protected]>
;; Dean Andrews <[email protected]>
-;; Juanma Barranquero <[email protected]>
+;; Juanma Barranquero <[email protected]>
;; Karl Berry <[email protected]>
;; Jim Chapman <[email protected]>
;; Kin Cho <[email protected]>
@@ -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