Commit 93bb08ef authored by Linus Tolke's avatar Linus Tolke
Browse files

Bugfix. lyskom-edit-mode

parent fc8ab146
No preview for this file type
......@@ -237,7 +237,8 @@ Entry to this mode runs lyskom-edit-mode-hook."
(setq mode-line-buffer-identification '("LysKOM (server: %b)"))
(run-hooks 'lyskom-edit-mode-mode-hook)
(setq lyskom-edit-mode-mode-map (copy-keymap (current-local-map)))
(setq lyskom-edit-mode-mode-map (and (current-local-map)
(copy-keymap (current-local-map))))
(setq major-mode 'lyskom-edit-mode)
(setq mode-name lyskom-edit-mode-name)
(setq buffer-offer-save t)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment