Created
November 30, 2018 15:51
-
-
Save Chobbes/34edeb9836e23ada8e689aa586a67668 to your computer and use it in GitHub Desktop.
Force a file to open in fundamental-mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Open a file in fundamental mode. | |
| (defun find-fundamental () | |
| (interactive) | |
| (cl-letf (((symbol-function 'normal-mode) #'fundamental-mode)) | |
| (call-interactively 'find-file))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment