| actually, it has to do with distinguishing * from '*' and *.* from *.'*' Emacs has a regexp-quote function, which returns a regexp that exactly matches the given string. Then, something like (glob (concat "*" (regexp-quote ".*"))) does the job.