1 Star 0 Fork 0

liuziloong / janus-gateway

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
emacs.el 574 Bytes
一键复制 编辑 原始数据 按行查看 历史
;; Include this in your ~/.emacs file for editing Janus code in Emacs.
;; Run "M-x janus-mode" to set the coding style for Janus.
(defun janus-mode ()
"Sets the Janus coding style in c-mode."
(interactive)
;; c-basic-offset and tab-width can be set to personal preference as long as
;; they are the same. They will expand to the single tab required by the Janus
;; coding style.
(setq c-basic-offset 2
tab-width 2
indent-tabs-mode t)
(c-set-offset 'arglist-intro '+)
(c-set-offset 'arglist-cont-nonempty '+)
(c-set-offset 'case-label '+))
1
https://gitee.com/liuziloong/janus.git
git@gitee.com:liuziloong/janus.git
liuziloong
janus
janus-gateway
master

搜索帮助