Mercurial > hg > xemacs-beta
diff lisp/utils/loadhist.el @ 14:9ee227acff29 r19-15b90
Import from CVS: tag r19-15b90
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:48:42 +0200 |
parents | ac2d302a0011 |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/lisp/utils/loadhist.el Mon Aug 13 08:48:18 2007 +0200 +++ b/lisp/utils/loadhist.el Mon Aug 13 08:48:42 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)))))