Skip to content
Snippets Groups Projects
Commit 93bb08ef authored by Linus Tolke's avatar Linus Tolke
Browse files

Bugfix. lyskom-edit-mode

parent fc8ab146
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -237,7 +237,8 @@ Entry to this mode runs lyskom-edit-mode-hook."
(lyskom-clear-vars)
(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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment