Commits

andreasj  committed fa9461d

Applied Justin Vallon's patch from
<m3yaeit4vg.fsf@sparrow.bear.com> with subject "gud.el patch".

  • Participants
  • Parent commits 10c3c08

Comments (0)

Files changed (2)

+1999-09-03  Justin Vallon  <vallon@bear.com>
+
+	* gud.el: Allow a lambda (ie: functionp) in gud-overload-functions.
+
 1999-05-12  Sam Mikes  <smikes@alumni.hmc.edu>
  
 	* gud.el: (gud-format-command) use `int-to-string' in concat         
 This association list has elements of the form
      (ORIGINAL-FUNCTION-NAME  OVERLOAD-FUNCTION)"
   (mapcar
-   (function (lambda (p) (fset (car p) (symbol-function (cdr p)))))
-   gud-overload-alist))
+   (function (lambda (p) (fset (car p) (cond ((functionp (cdr p))
+					      (cdr p))
+					     (t
+					      (symbol-function (cdr p)))))))
+      gud-overload-alist))
 
 (defun gud-massage-args (file args)
   (error "GUD not properly entered."))