all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Keybinding to change Major Mode according to file type
@ 2020-09-21  7:42 Christopher Dimech
  2020-09-21  8:35 ` Marcin Borkowski
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Dimech @ 2020-09-21  7:42 UTC (permalink / raw)
  To: Help Gnu Emacs

Can one use keybinding such as f2 loads the bluffer in Major Mode dependent on the file type.

Example:


If I have a .texi file in whicn I have changed the major mode with 'M-x org-mode'

I want to press f2 to it will check the file, in my case .texi and change
to major mode as though I keyed 'M-x texinfo-mode'





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-21  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-21  7:42 Keybinding to change Major Mode according to file type Christopher Dimech
2020-09-21  8:35 ` Marcin Borkowski

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.