Skip to content

Commit 5ca1702

Browse files
mattiasbjosteink
authored andcommitted
Make csharp-mode-map inherit from prog-mode-map
1 parent 14e0327 commit 5ca1702

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csharp-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,7 @@ This regexp is assumed to not match any non-operator identifier."
14481448
("finally" "finally" c-electric-continued-statement 0)))
14491449

14501450
(defvar csharp-mode-map (let ((map (c-make-inherited-keymap)))
1451+
(set-keymap-parent map prog-mode-map)
14511452
;; Add bindings which are only useful for C#
14521453
map)
14531454
"Keymap used in ‘csharp-mode’ buffers.")

0 commit comments

Comments
 (0)