compilation--previous-directory

compilation--previous-directory is a compiled Lisp function in `compile.el'.

(compilation--previous-directory POS)

Like (previous-single-property-change POS 'compilation-directory), but faster.