File: cpp.el

package info (click to toggle)
node-zipfile 0.5.12%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,004 kB
  • sloc: cpp: 508; makefile: 52; sh: 29; lisp: 10
file content (12 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
(defun fixup ()
  (c-set-style "bsd")
  (c-set-offset 'innamespace 0)
  (c-set-offset 'template-args-cont 'c-lineup-template-args)
  (setq c-basic-offset 4)
  (indent-region (point-min) (point-max) nil)
  (untabify (point-min) (point-max))
  (delete-trailing-whitespace)
  (save-buffer)
)