diff lisp/hyper-apropos.el @ 5199:49e931565616

merge
author Ben Wing <ben@xemacs.org>
date Mon, 12 Apr 2010 00:53:18 -0500
parents fa5d6416887f
children 9058351b0236
line wrap: on
line diff
--- a/lisp/hyper-apropos.el	Fri Apr 09 23:38:02 2010 -0500
+++ b/lisp/hyper-apropos.el	Mon Apr 12 00:53:18 2010 -0500
@@ -772,11 +772,14 @@
 		     global (current-global-map)
 		     obsolete (get symbol 'byte-obsolete-info)
 		     doc (function-documentation symbol t)
-                     arglist (replace-in-string
-                              (function-arglist symbol)
-                              (format "^(%s "
-                                      (regexp-quote (symbol-name symbol)))
-                              "("))
+                     arglist (let ((farglist (function-arglist symbol)))
+			       (if farglist
+				   (replace-in-string
+				    farglist
+				    (format "^(%s "
+					(regexp-quote (symbol-name symbol)))
+				    "(")
+				 "[not available]")))
 	       (save-excursion
 		 (set-buffer hyper-apropos-help-buf)
 		 (goto-char (point-max))