Skip to content

Instantly share code, notes, and snippets.

@haxney
Created September 29, 2012 20:21
Show Gist options
  • Save haxney/3805094 to your computer and use it in GitHub Desktop.
Save haxney/3805094 to your computer and use it in GitHub Desktop.
Test gist.el language replacement
# Comment while saved under plain-text mode.
# Made entirely from within the web interface
# Commit 2. Edited from within Emacs
# Commit 3. Made from web interface, setting language to shell
# Commit 4. Now another edit in emacs. Only added this line of text and saved.
# Commit 5. Re-open in Emacs, setting mode to sh-mode
# (manually setting `major-mode' to `sh-mode' did nothing)
# Commit 6. Modify from web interface, setting language back to "Shell"
# Commit 7. Edit from within Emacs. Mode has been correctly auto-set to `sh-mode'.
# Commit 8. Kill buffer and re-open within Emacs: language is reset to text.
# Commit 9. Filename explicitly set to "manual-name.sh" from web
# interface. Is opened in `sh-mode' within Emacs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment