aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/faq.texi2
-rw-r--r--man/viper.texi18
-rw-r--r--man/widget.texi3
3 files changed, 14 insertions, 9 deletions
diff --git a/man/faq.texi b/man/faq.texi
index 52611193383..fb454364800 100644
--- a/man/faq.texi
+++ b/man/faq.texi
@@ -3431,7 +3431,7 @@ see @ref{Help installing Emacs}.
3431If you cannot find a solution in the documentation, send a message to 3431If you cannot find a solution in the documentation, send a message to
3432@email{bug-gnu-emacs@@gnu.org}. 3432@email{bug-gnu-emacs@@gnu.org}.
3433 3433
3434Please do not post it to @uref{news:gnu.emacs.help} or send e-mail to 3434Please don't post it to @uref{news:gnu.emacs.help} or send e-mail to
3435@email{help-gnu-emacs@@gnu.org}. For further guidelines, see 3435@email{help-gnu-emacs@@gnu.org}. For further guidelines, see
3436@ref{Guidelines for newsgroup postings} and @ref{Reporting bugs}. 3436@ref{Guidelines for newsgroup postings} and @ref{Reporting bugs}.
3437 3437
diff --git a/man/viper.texi b/man/viper.texi
index 906d6abe288..e0838fdbb7b 100644
--- a/man/viper.texi
+++ b/man/viper.texi
@@ -1850,8 +1850,10 @@ specifying a new face. (Emacs faces are described in the Emacs Lisp
1850reference.) On a color display, the following customization method is 1850reference.) On a color display, the following customization method is
1851usually most effective: 1851usually most effective:
1852@example 1852@example
1853(set-face-foreground viper-replace-overlay-face "DarkSlateBlue") 1853(set-face-foreground viper-replace-overlay-face
1854(set-face-background viper-replace-overlay-face "yellow") 1854 "DarkSlateBlue")
1855(set-face-background viper-replace-overlay-face
1856 "yellow")
1855@end example 1857@end example
1856For a complete list of colors available to you, evaluate the expression 1858For a complete list of colors available to you, evaluate the expression
1857@code{(x-defined-colors)}. (Type it in the buffer @code{*scratch*} and then 1859@code{(x-defined-colors)}. (Type it in the buffer @code{*scratch*} and then
@@ -2057,7 +2059,8 @@ can write this:
2057@noindent 2059@noindent
2058To customize the binding for @kbd{C-h} in Insert state: 2060To customize the binding for @kbd{C-h} in Insert state:
2059@example 2061@example
2060(define-key viper-insert-global-user-map "\C-h" 'my-del-backwards-function) 2062(define-key viper-insert-global-user-map
2063 "\C-h" 'my-del-backwards-function)
2061@end example 2064@end example
2062@noindent 2065@noindent
2063 2066
@@ -2106,7 +2109,8 @@ Dired functions, the trick can be accomplished via the following code:
2106(setq my-dired-vi-purist-map (make-sparse-keymap)) 2109(setq my-dired-vi-purist-map (make-sparse-keymap))
2107(define-key my-dired-vi-purist-map "k" 'viper-previous-line) 2110(define-key my-dired-vi-purist-map "k" 'viper-previous-line)
2108(define-key my-dired-vi-purist-map "l" 'viper-forward-char) 2111(define-key my-dired-vi-purist-map "l" 'viper-forward-char)
2109(viper-modify-major-mode 'dired-mode 'emacs-state my-dired-vi-purist-map) 2112(viper-modify-major-mode 'dired-mode
2113 'emacs-state my-dired-vi-purist-map)
2110@end example 2114@end example
2111 2115
2112Yet another way to customize key bindings in a major mode is to edit the 2116Yet another way to customize key bindings in a major mode is to edit the
@@ -2530,15 +2534,15 @@ If a document consists of several files we can designate one of them as a
2530master and put the following at the end of that file: 2534master and put the following at the end of that file:
2531@lisp 2535@lisp
2532;;; Local Variables: 2536;;; Local Variables:
2533;;; eval: (viper-setup-master-buffer "file1" "file2" "file3" "file5" "file5") 2537;;; eval: (viper-setup-master-buffer "file1" "file2" "file3" "file4")
2534;;; End: 2538;;; End:
2535@end lisp 2539@end lisp
2536@noindent 2540@noindent
2537where @code{file1} to @code{file5} are names of files related to the master 2541where @code{file1} to @code{file4} are names of files related to the master
2538file. Next time, when the master file is visited, the command 2542file. Next time, when the master file is visited, the command
2539@code{viper-setup-master-buffer} will be evaluated and the above files will 2543@code{viper-setup-master-buffer} will be evaluated and the above files will
2540be associated with the master file. Then, the new Ex command 2544be associated with the master file. Then, the new Ex command
2541@kbd{:RelatedFile} (abbr.@: @kbd{:R}) will display files 1 to 5 one after 2545@kbd{:RelatedFile} (abbr.@: @kbd{:R}) will display files 1 to 4 one after
2542another, so you can edit them. If a file is not in any Emacs buffer, it 2546another, so you can edit them. If a file is not in any Emacs buffer, it
2543will be visited. The command @kbd{PreviousRelatedFile} (abbr., @kbd{:P}) 2547will be visited. The command @kbd{PreviousRelatedFile} (abbr., @kbd{:P})
2544goes through the file list in the opposite direction. 2548goes through the file list in the opposite direction.
diff --git a/man/widget.texi b/man/widget.texi
index 96a97e89b11..f5f366efedd 100644
--- a/man/widget.texi
+++ b/man/widget.texi
@@ -358,7 +358,8 @@ Interface}).
358 '("En" "To" "Tre")) 358 '("En" "To" "Tre"))
359 (widget-setup)) 359 (widget-setup))
360 "other work") 360 "other work")
361 (widget-insert " for more information.\n\nNumbers: count to three below\n") 361 (widget-insert
362 " for more information.\n\nNumbers: count to three below\n")
362 (setq widget-example-repeat 363 (setq widget-example-repeat
363 (widget-create 'editable-list 364 (widget-create 'editable-list
364 :entry-format "%i %d %v" 365 :entry-format "%i %d %v"