branch: externals/csharp-mode commit 5ca1702b80b79968fd704d42188937f0cd7328a2 Author: Mattias Bengtsson <mattias.jc.bengts...@gmail.com> Commit: Jostein Kjønigsen <jost...@kjonigsen.net>
Make csharp-mode-map inherit from prog-mode-map --- csharp-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp-mode.el b/csharp-mode.el index 6bf90b2..f536647 100644 --- a/csharp-mode.el +++ b/csharp-mode.el @@ -1448,6 +1448,7 @@ This regexp is assumed to not match any non-operator identifier." ("finally" "finally" c-electric-continued-statement 0))) (defvar csharp-mode-map (let ((map (c-make-inherited-keymap))) + (set-keymap-parent map prog-mode-map) ;; Add bindings which are only useful for C# map) "Keymap used in ‘csharp-mode’ buffers.")