1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

revised and better

This commit is contained in:
Daniel Stenberg 2003-01-28 08:03:13 +00:00
parent 8948a65654
commit ca52549557

View File

@ -37,15 +37,11 @@
(setq tab-width 8
indent-tabs-mode nil ; Use spaces. Not tabs.
comment-column 40
c-font-lock-extra-types (append '("bool"))
c-font-lock-extra-types (append '("bool" "CURL" "CURLcode" "ssize_t"))
)
;; We like auto-newline and hungry-delete
(c-toggle-auto-hungry-state 1)
;; keybindings for C, C++, and Objective-C. We can put these in
;; c-mode-base-map because of inheritance ...
(define-key c-mode-base-map "\M-q" 'c-fill-paragraph)
;; Cleanups
(setq c-cleanup-list '(list-close-comma defun-close-semi empty-defun-braces brace-else-brace brace-elseif-brace scope-operator))
(setq c-recognize-knr-p nil)
)