tags 60024 + patch confirmed found 60024 29.0.60 thanks Einar Largenius writes: > I have the following function: > > (defun search-journal (regexp) > "Searches journal for `regexp'." > (interactive "sSök i journalen: ") > (rgrep regexp "* .*" org-directory)) > > When I run it after startup. It gives me an error: > > rgrep-default-command: Wrong type argument: stringp, nil > > After I run M-x rgrepC-g. The above command works just fine. I > tested with emacs -Q and the same thing happens. Could you please test the attached patch and see if it fixes your problem? Thanks.