(defun cur-fun () (with-temp-buffer (let ((standard-output (current-buffer))) (backtrace)) (message (buffer-string)) (goto-char (point-min)) (dotimes (_ 3) (re-search-forward “^ [^(]” nil t)) (symbol-at-point)))
see also: http://sprunge.us/NfcJ?cl (defun yftest () (cur-fun)) (yftest) [2014-02-11 mar. 14:19]