From 173076b47b1e789fd34ed93374983e6542388096 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 22 Dec 2012 14:09:06 -0800 Subject: [PATCH] Avoid some overfull lines in doc/misc/viper --- doc/misc/ChangeLog | 3 +++ doc/misc/viper.texi | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index f15dedb2b9f..383833c1dc9 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,5 +1,8 @@ 2012-12-22 Glenn Morris + * viper.texi (Rudimentary Changes, Key Bindings, Key Bindings): + Avoid some overfull lines. + * widget.texi (Programming Example): Break some long lines. * wisent.texi (Wisent Overview): Fix xref. diff --git a/doc/misc/viper.texi b/doc/misc/viper.texi index 1297fdb672b..a0dc237c6c9 100644 --- a/doc/misc/viper.texi +++ b/doc/misc/viper.texi @@ -1838,10 +1838,10 @@ replacement regions, you can change @code{viper-replace-overlay-face} by specifying a new face. (Emacs faces are described in the Emacs Lisp reference.) On a color display, the following customization method is usually most effective: -@example +@smallexample (set-face-foreground viper-replace-overlay-face "DarkSlateBlue") (set-face-background viper-replace-overlay-face "yellow") -@end example +@end smallexample For a complete list of colors available to you, evaluate the expression @code{(x-defined-colors)}. (Type it in the buffer @code{*scratch*} and then hit the @kbd{C-j} key. @@ -2044,7 +2044,8 @@ can write this: @noindent To customize the binding for @kbd{C-h} in Insert state: @example -(define-key viper-insert-global-user-map "\C-h" 'my-del-backwards-function) +(define-key viper-insert-global-user-map "\C-h" + 'my-del-backwards-function) @end example @noindent @@ -2093,7 +2094,8 @@ Dired functions, the trick can be accomplished via the following code: (setq my-dired-vi-purist-map (make-sparse-keymap)) (define-key my-dired-vi-purist-map "k" 'viper-previous-line) (define-key my-dired-vi-purist-map "l" 'viper-forward-char) -(viper-modify-major-mode 'dired-mode 'emacs-state my-dired-vi-purist-map) +(viper-modify-major-mode 'dired-mode + 'emacs-state my-dired-vi-purist-map) @end example Yet another way to customize key bindings in a major mode is to edit the -- 2.39.5