Use own dogfood and remove whitespace pointed out through by displaying

trailing whitespace.

PR:		docs/48371
Approved by:	ceri
This commit is contained in:
Sean Chittenden 2003-02-17 20:09:57 +00:00
parent 563de07c7d
commit 30dd31cfc8
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16038

View file

@ -36,7 +36,7 @@
</sect1>
<sect1 id="tools-intro"><title>Introduction</title>
<para>FreeBSD offers an excellent development environment.
Compilers for C, C++, and Fortran and an assembler come with the
basic system, not to mention a Perl interpreter and classic Unix
@ -297,7 +297,7 @@
did compile and gave you a program, you can run it either at a
shell command prompt or in a debugger to see if it works
properly.
<footnote>
<para>If you run it in the shell, you may get a core
dump.</para>
@ -469,7 +469,7 @@
<varlistentry>
<term><option>-c</option></term>
<listitem>
<para>Just compile the file, do not link it. Useful for toy
programs where you just want to check the syntax, or if
@ -813,7 +813,7 @@ int main() {
</informalexample>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>OK, I have an executable called
@ -1926,7 +1926,7 @@ else if (pid == 0) { /* child */
;; This file is designed to be re-evaled; use the variable first-time
;; to avoid any problems with this.
(defvar first-time t
(defvar first-time t
"Flag signifying this is the first time that .emacs has been evaled")
;; Meta
@ -2008,7 +2008,7 @@ else if (pid == 0) { /* child */
) auto-mode-alist)))
;; Auto font lock mode
(defvar font-lock-auto-mode-list
(defvar font-lock-auto-mode-list
(list 'c-mode 'c++-mode 'c++-c-mode 'emacs-lisp-mode 'lisp-mode 'perl-mode 'scheme-mode)
"List of modes to always start in font-lock-mode")
@ -2020,7 +2020,7 @@ else if (pid == 0) { /* child */
(defun font-lock-auto-mode-select ()
"Automatically select font-lock-mode if the current major mode is
in font-lock-auto-mode-list"
(if (memq major-mode font-lock-auto-mode-list)
(if (memq major-mode font-lock-auto-mode-list)
(progn
(font-lock-mode t))
)
@ -2033,15 +2033,15 @@ in font-lock-auto-mode-list"
(setq dabbrev-always-check-other-buffers t)
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")
(add-hook 'emacs-lisp-mode-hook
'(lambda ()
'(lambda ()
(set (make-local-variable 'dabbrev-case-fold-search) nil)
(set (make-local-variable 'dabbrev-case-replace) nil)))
(add-hook 'c-mode-hook
'(lambda ()
'(lambda ()
(set (make-local-variable 'dabbrev-case-fold-search) nil)
(set (make-local-variable 'dabbrev-case-replace) nil)))
(add-hook 'text-mode-hook
'(lambda ()
'(lambda ()
(set (make-local-variable 'dabbrev-case-fold-search) t)
(set (make-local-variable 'dabbrev-case-replace) t)))
@ -2156,7 +2156,7 @@ in font-lock-auto-mode-list"
(progn
;; (global-set-key [M-f1] 'hilit-repaint-command)
;; (global-set-key [M-f2] [?\C-u M-f1])
(setq hilit-mode-enable-list
(setq hilit-mode-enable-list
'(not text-mode c-mode c++-mode emacs-lisp-mode lisp-mode
scheme-mode)
hilit-auto-highlight nil
@ -2169,7 +2169,7 @@ in font-lock-auto-mode-list"
)
;; TTY type terminal
(if (and (not window-system)
(if (and (not window-system)
(not (equal system-type 'ms-dos)))
(progn
(if first-time
@ -2267,7 +2267,7 @@ in font-lock-auto-mode-list"
<function>whizbang-mode</function> to it like so:</para>
<programlisting>;; Auto font lock mode
(defvar font-lock-auto-mode-list
(defvar font-lock-auto-mode-list
(list 'c-mode 'c++-mode 'c++-c-mode 'emacs-lisp-mode 'whizbang-mode 'lisp-mode 'perl-mode 'scheme-mode)
"List of modes to always start in font-lock-mode")</programlisting>
@ -2347,7 +2347,7 @@ in font-lock-auto-mode-list"
</sect1>
</chapter>
<!--
<!--
Local Variables:
mode: sgml
sgml-declaration: "../chapter.decl"