how to open *.info file in emacs in info mode?

前端 未结 6 935
耶瑟儿~
耶瑟儿~ 2021-01-31 15:36

C-x C-f blah.info opens the file in fundametal mode. I used apropos and found Info-mode which I thought might change from fundamental mode

6条回答
  •  别跟我提以往
    2021-01-31 16:28

    Add the following to your .emacs initialization file:

    (setq auto-mode-alist 
          (append '(("\\.info" . Info-mode)) auto-mode-alist))
    

提交回复
热议问题