pub fn get_from_emacs_mode(mode: &str) -> Option<LANG>Expand description
Detects the language associated to the input Emacs mode.
An Emacs mode is used to detect a language according to
particular text-information contained in a file.
ยงExamples
use rust_code_analysis::get_from_emacs_mode;
let emacs_mode = "rust";
get_from_emacs_mode(emacs_mode).unwrap();