Do not restrict all electric- serial functions of cc-mode

This commit is contained in:
Zhang Chiyuan 2009-01-19 14:02:57 +00:00
parent 8fa2c47406
commit b8cb1d27f4

View File

@ -1598,7 +1598,7 @@ handle the end-of-buffer error fired in it by calling
(add-hook 'c-mode-common-hook
'(lambda ()
(make-variable-buffer-local 'yas/minor-mode-map)
(dolist (k '(":" ">" "}" "{" ";"))
(dolist (k '(":" ">"))
(define-key yas/minor-mode-map
k 'self-insert-command))))