Browse Source

doc: Use @lisp where appropriate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Timothy Gu Michael Niedermayer 10 years ago
parent
commit
c3d0edd406
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      doc/developer.texi

+ 2
- 2
doc/developer.texi View File

@@ -228,7 +228,7 @@ autocmd InsertEnter * match ForbiddenWhitespace /\t\|\s\+\%#\@@<!$/
@end example @end example


For Emacs, add these roughly equivalent lines to your @file{.emacs.d/init.el}: For Emacs, add these roughly equivalent lines to your @file{.emacs.d/init.el}:
@example
@lisp
(c-add-style "ffmpeg" (c-add-style "ffmpeg"
'("k&r" '("k&r"
(c-basic-offset . 4) (c-basic-offset . 4)
@@ -239,7 +239,7 @@ For Emacs, add these roughly equivalent lines to your @file{.emacs.d/init.el}:
) )
) )
(setq c-default-style "ffmpeg") (setq c-default-style "ffmpeg")
@end example
@end lisp


@section Development Policy @section Development Policy




Loading…
Cancel
Save