You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since .txt file can be any text file not only a robot file, it is better to replace this comment statement @http://code.google.com/p/robot-mode/source/browse/trunk/robot-mode.el?r=31 --- ln 8.
(add-to-list 'auto-mode-alist '(".txt'" . robot-mode))
it can be rewritten as
(add-to-list 'auto-mode-alist '(".robot'" . robot-mode))
The text was updated successfully, but these errors were encountered:
I'm not a fan of @madhavan020985's approach, as I prefer not using the extension for this.
Coming from Vim, I used this plugin which could identify Robot files by the file's coding. However, doing the same in Emacs triggers an "Invalid coding system robot'" message, which is understandable. Is there a way of making this work with robot-mode` anyway?
There might be a way of doing that outside of this package, but I'm a newcomer to Emacs/Lisp, so pardon my ignorance.
Since .txt file can be any text file not only a robot file, it is better to replace this comment statement @http://code.google.com/p/robot-mode/source/browse/trunk/robot-mode.el?r=31 --- ln 8.
(add-to-list 'auto-mode-alist '(".txt'" . robot-mode))
it can be rewritten as
(add-to-list 'auto-mode-alist '(".robot'" . robot-mode))
The text was updated successfully, but these errors were encountered: