Mercurial > hg > xemacs-beta
diff lisp/utils/loadhist.el @ 80:1ce6082ce73f r20-0b90
Import from CVS: tag r20-0b90
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:06:37 +0200 |
parents | 131b0175ea99 |
children |
line wrap: on
line diff
--- a/lisp/utils/loadhist.el Mon Aug 13 09:05:44 2007 +0200 +++ b/lisp/utils/loadhist.el Mon Aug 13 09:06:37 2007 +0200 @@ -34,6 +34,7 @@ (defun symbol-file (sym) "Return the input source from which SYM was loaded. This is a file name, or nil if the source was a buffer with no associated file." + (interactive "S") ; XEmacs (catch 'foundit (mapcar (function (lambda (x) (if (memq sym (cdr x)) (throw 'foundit (car x)))))