doc: Use @lisp where appropriate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Timothy Gu 2015-03-22 20:47:19 -07:00 committed by Michael Niedermayer
parent ecba41bfd3
commit c3d0edd406
1 changed files with 2 additions and 2 deletions

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