John Wiegley <[EMAIL PROTECTED]> writes:

> (defun org-multi-occur (regexp)
>   (interactive "sList all lines matching: ")
>   (multi-occur (mapcar 'get-file-buffer (org-agenda-files)) "org"))

There is a small typo:

(defun org-multi-occur (regexp)
  (interactive "sList all lines matching: ")
  (multi-occur (mapcar 'get-file-buffer (org-agenda-files)) regexp))
                                                            ^^^^^^
Very useful, thanks!

Comparing to that, org-registry looks like using a bulldozer to tidy up
my room. But I still think it does make sense to directly look for the
files where the current buffer is linked.  Any suggestion welcome!

-- 
Bastien


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to