stsquad/emacs_chrome — Issue #51: use auto-mode-alist to choose mode
Author: lewang
Created: 2012-02-29 17:21:22+00:00
State: open

Hi, I edit files from it's all text, as well, and have my major-mode all set up through auto-mode-alist. Can you mention in the docs that people can use the following to not fracture their major-mode setting into different variables?

```lisp
(setq edit-server-default-major-mode
(lambda ()
(let ((buffer-file-name (buffer-name)))
(normal-mode))))
```