2017-10-19 5 views

답변

1

auto-mode-alist의 일부로 지정된 정규 표현식은 전체 경로 이름과 일치하므로 정규식 두 개가 절대로 일치하지 않습니다.

당신은 아마

(add-to-list 'auto-mode-alist '("Makefile.*\\'" . makefile-mode)) 

또는

(add-to-list 'auto-mode-alist '("/Makefile.*\\'" . makefile-mode)) 
같은 것을 사용하려면