I have 2 markers (created with
e and I want to run
occur for the string "foo" on the region between
e. What's the correct syntax?
(occur "foo" 1 '((b . e)))
because the help says:
Optional arg REGION, if non-nil, mean restrict search to the specified region. Otherwise search the entire buffer. REGION must be a list of (START . END) positions as returned by ‘region-bounds’.
but it doesn't work.
I also tried:
(occur "foo" 1 '(((point-min) . (point-max))))
to try to understand the syntax, but it doesn't work.