Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Emacs, I set vc-follow-symlinks to t. It follows symlinks into Git repositories with no problem. However, it fails to follow links into Perforce repositories.

I usually set p4-use-p4config-exclusively to t and p4-do-find-file to nil, since my local Perforce repository is slow as molasses and without these settings, every file open within the repository takes an extra 3 seconds or so. Twiddling these variables doesn't make Emacs follow links. Poking around p4.el, I found the variable p4-follow-symlinks, which looked promising. However, setting it to t had no effect.

Is there any way to get Emacs to follow links into Perforce repositories, or am I going to have to roll my own find-file-hook?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.