]> git.eshelyaron.com Git - emacs.git/commitdiff
(WoMan-xref-man-page): Fix call to `substring'.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 6 Apr 2006 08:44:24 +0000 (08:44 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 6 Apr 2006 08:44:24 +0000 (08:44 +0000)
lisp/woman.el

index 1aa5ce257168e7f5e7cc8e65d104eed08fa9e6e0..2392d0bfa4cacffba3073c27b78a2a615f390df4 100644 (file)
 ;; 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>
 
 (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