From: Glenn Morris Date: Wed, 29 Feb 2012 08:05:16 +0000 (-0800) Subject: Use @code{} in menus when appropriate, rather than `' X-Git-Tag: emacs-pretest-24.0.05~212 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53eced6df880456784f2c9b788c6aea67d195a1b;p=emacs.git Use @code{} in menus when appropriate, rather than `' Eg it looks better in html output, where it gets converted to italic. * doc/emacs/dired.texi, doc/emacs/emacs.texi: * doc/misc/cl.texi: Use @code{} in menus when appropriate, rather than `'. --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index f097bb5cd34..6ea8d80cfe1 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,7 @@ +2012-02-29 Glenn Morris + + * dired.texi, emacs.texi: Use @code{} in menus when appropriate. + 2012-02-28 Glenn Morris * custom.texi, display.texi, emacs.texi, files.texi: diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index cce440f2bdb..e048237a4e2 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi @@ -40,7 +40,7 @@ you to operate on the listed files. @xref{Directories}. either one file or several files. * Shell Commands in Dired:: Running a shell command on the marked files. * Transforming File Names:: Using patterns to rename multiple files. -* Comparison in Dired:: Running `diff' by way of Dired. +* Comparison in Dired:: Running @code{diff} by way of Dired. * Subdirectories in Dired:: Adding subdirectories to the Dired buffer. @ifnottex * Subdir Switches:: Subdirectory switches in Dired. @@ -48,7 +48,7 @@ you to operate on the listed files. @xref{Directories}. * Subdirectory Motion:: Moving across subdirectories, and up and down. * Hiding Subdirectories:: Making subdirectories visible or invisible. * Updating: Dired Updating. Discarding lines for files of no interest. -* Find: Dired and Find. Using `find' to choose the files for Dired. +* Find: Dired and Find. Using @code{find} to choose the files for Dired. * Wdired:: Operating on files by editing the Dired buffer. * Image-Dired:: Viewing image thumbnails in Dired. * Misc: Misc Dired Features. Various other features. diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index be8137aae30..04bccf63e1a 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi @@ -882,7 +882,7 @@ Dired, the Directory Editor either one file or several files. * Shell Commands in Dired:: Running a shell command on the marked files. * Transforming File Names:: Using patterns to rename multiple files. -* Comparison in Dired:: Running `diff' by way of Dired. +* Comparison in Dired:: Running @code{diff} by way of Dired. * Subdirectories in Dired:: Adding subdirectories to the Dired buffer. @ifnottex * Subdir Switches:: Subdirectory switches in Dired. @@ -890,7 +890,7 @@ Dired, the Directory Editor * Subdirectory Motion:: Moving across subdirectories, and up and down. * Hiding Subdirectories:: Making subdirectories visible or invisible. * Dired Updating:: Discarding lines for files of no interest. -* Dired and Find:: Using `find' to choose the files for Dired. +* Dired and Find:: Using @code{find} to choose the files for Dired. * Wdired:: Operating on files by editing the Dired buffer. * Image-Dired:: Viewing image thumbnails in Dired. * Misc Dired Features:: Various other features. diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 987fb895811..6232f0a62dd 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,7 @@ +2012-02-29 Glenn Morris + + * cl.texi: Use @code{} in menus when appropriate. + 2012-02-28 Glenn Morris * calc.texi, cc-mode.texi, cl.texi, ebrowse.texi, ediff.texi: diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 52aaae9e006..d35c14acd1d 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi @@ -60,17 +60,17 @@ does assume a basic familiarity with Emacs Lisp. @menu * Overview:: Installation, usage, etc. -* Program Structure:: Arglists, `eval-when', `defalias' -* Predicates:: `typep' and `equalp' -* Control Structure:: `setf', `do', `loop', etc. -* Macros:: Destructuring, `define-compiler-macro' -* Declarations:: `proclaim', `declare', etc. -* Symbols:: Property lists, `gensym' +* Program Structure:: Arglists, @code{eval-when}, @code{defalias} +* Predicates:: @code{typep} and @code{equalp} +* Control Structure:: @code{setf}, @code{do}, @code{loop}, etc. +* Macros:: Destructuring, @code{define-compiler-macro} +* Declarations:: @code{proclaim}, @code{declare}, etc. +* Symbols:: Property lists, @code{gensym} * Numbers:: Predicates, functions, random numbers * Sequences:: Mapping, functions, searching, sorting -* Lists:: `caddr', `sublis', `member*', `assoc*', etc. -* Structures:: `defstruct' -* Assertions:: `check-type', `assert', `ignore-errors'. +* Lists:: @code{caddr}, @code{sublis}, @code{member*}, @code{assoc*}, etc. +* Structures:: @code{defstruct} +* Assertions:: @code{check-type}, @code{assert}, @code{ignore-errors}. * Efficiency Concerns:: Hints and techniques * Common Lisp Compatibility:: All known differences with Steele @@ -293,8 +293,8 @@ do with programs as a whole: advanced argument lists for functions, and the @code{eval-when} construct. @menu -* Argument Lists:: `&key', `&aux', `defun*', `defmacro*'. -* Time of Evaluation:: The `eval-when' construct. +* Argument Lists:: @code{&key}, @code{&aux}, @code{defun*}, @code{defmacro*}. +* Time of Evaluation:: The @code{eval-when} construct. @end menu @iftex @@ -683,8 +683,8 @@ This section describes functions for testing whether various facts are true or false. @menu -* Type Predicates:: `typep', `deftype', and `coerce' -* Equality Predicates:: `equalp' +* Type Predicates:: @code{typep}, @code{deftype}, and @code{coerce} +* Equality Predicates:: @code{equalp} @end menu @node Type Predicates, Equality Predicates, Predicates, Predicates @@ -858,14 +858,14 @@ various advanced control structures, including the powerful constructs. @menu -* Assignment:: The `psetq' form -* Generalized Variables:: `setf', `incf', `push', etc. -* Variable Bindings:: `progv', `lexical-let', `flet', `macrolet' -* Conditionals:: `case', `typecase' -* Blocks and Exits:: `block', `return', `return-from' -* Iteration:: `do', `dotimes', `dolist', `do-symbols' -* Loop Facility:: The Common Lisp `loop' macro -* Multiple Values:: `values', `multiple-value-bind', etc. +* Assignment:: The @code{psetq} form +* Generalized Variables:: @code{setf}, @code{incf}, @code{push}, etc. +* Variable Bindings:: @code{progv}, @code{lexical-let}, @code{flet}, @code{macrolet} +* Conditionals:: @code{case}, @code{typecase} +* Blocks and Exits:: @code{block}, @code{return}, @code{return-from} +* Iteration:: @code{do}, @code{dotimes}, @code{dolist}, @code{do-symbols} +* Loop Facility:: The Common Lisp @code{loop} macro +* Multiple Values:: @code{values}, @code{multiple-value-bind}, etc. @end menu @node Assignment, Generalized Variables, Control Structure, Control Structure @@ -929,9 +929,9 @@ Just as certain forms like @code{a[i]} can be lvalues in C, there is a set of forms that can be generalized variables in Lisp. @menu -* Basic Setf:: `setf' and place forms -* Modify Macros:: `incf', `push', `rotatef', `letf', `callf', etc. -* Customizing Setf:: `define-modify-macro', `defsetf', `define-setf-method' +* Basic Setf:: @code{setf} and place forms +* Modify Macros:: @code{incf}, @code{push}, @code{rotatef}, @code{letf}, @code{callf}, etc. +* Customizing Setf:: @code{define-modify-macro}, @code{defsetf}, @code{define-setf-method} @end menu @node Basic Setf, Modify Macros, Generalized Variables, Generalized Variables @@ -1540,10 +1540,10 @@ analogous to Lisp's built-in @code{let} form. are also related to variable bindings. @menu -* Dynamic Bindings:: The `progv' form -* Lexical Bindings:: `lexical-let' and lexical closures -* Function Bindings:: `flet' and `labels' -* Macro Bindings:: `macrolet' and `symbol-macrolet' +* Dynamic Bindings:: The @code{progv} form +* Lexical Bindings:: @code{lexical-let} and lexical closures +* Function Bindings:: @code{flet} and @code{labels} +* Macro Bindings:: @code{macrolet} and @code{symbol-macrolet} @end menu @node Dynamic Bindings, Lexical Bindings, Variable Bindings, Variable Bindings @@ -2140,12 +2140,12 @@ construct called the ``Loop Facility'' or ``@code{loop} macro,'' with an easy-to-use but very powerful and expressive syntax. @menu -* Loop Basics:: `loop' macro, basic clause structure -* Loop Examples:: Working examples of `loop' macro -* For Clauses:: Clauses introduced by `for' or `as' -* Iteration Clauses:: `repeat', `while', `thereis', etc. -* Accumulation Clauses:: `collect', `sum', `maximize', etc. -* Other Clauses:: `with', `if', `initially', `finally' +* Loop Basics:: @code{loop} macro, basic clause structure +* Loop Examples:: Working examples of @code{loop} macro +* For Clauses:: Clauses introduced by @code{for} or @code{as} +* Iteration Clauses:: @code{repeat}, @code{while}, @code{thereis}, etc. +* Accumulation Clauses:: @code{collect}, @code{sum}, @code{maximize}, etc. +* Other Clauses:: @code{with}, @code{if}, @code{initially}, @code{finally} @end menu @node Loop Basics, Loop Examples, Loop Facility, Loop Facility @@ -3184,8 +3184,8 @@ This package defines several symbol-related features that were missing from Emacs Lisp. @menu -* Property Lists:: `get*', `remprop', `getf', `remf' -* Creating Symbols:: `gensym', `gentemp' +* Property Lists:: @code{get*}, @code{remprop}, @code{getf}, @code{remf} +* Creating Symbols:: @code{gensym}, @code{gentemp} @end menu @node Property Lists, Creating Symbols, Symbols, Symbols @@ -3330,10 +3330,10 @@ This section defines a few simple Common Lisp operations on numbers which were left out of Emacs Lisp. @menu -* Predicates on Numbers:: `plusp', `oddp', `floatp-safe', etc. -* Numerical Functions:: `abs', `floor*', etc. -* Random Numbers:: `random*', `make-random-state' -* Implementation Parameters:: `most-positive-float' +* Predicates on Numbers:: @code{plusp}, @code{oddp}, @code{floatp-safe}, etc. +* Numerical Functions:: @code{abs}, @code{floor*}, etc. +* Random Numbers:: @code{random*}, @code{make-random-state} +* Implementation Parameters:: @code{most-positive-float} @end menu @iftex @@ -3630,10 +3630,10 @@ Emacs Lisp includes a few of these, notably @code{elt} and @menu * Sequence Basics:: Arguments shared by all sequence functions -* Mapping over Sequences:: `mapcar*', `mapcan', `map', `every', etc. -* Sequence Functions:: `subseq', `remove*', `substitute', etc. -* Searching Sequences:: `find', `position', `count', `search', etc. -* Sorting Sequences:: `sort*', `stable-sort', `merge' +* Mapping over Sequences:: @code{mapcar*}, @code{mapcan}, @code{map}, @code{every}, etc. +* Sequence Functions:: @code{subseq}, @code{remove*}, @code{substitute}, etc. +* Searching Sequences:: @code{find}, @code{position}, @code{count}, @code{search}, etc. +* Sorting Sequences:: @code{sort*}, @code{stable-sort}, @code{merge} @end menu @node Sequence Basics, Mapping over Sequences, Sequences, Sequences @@ -4113,10 +4113,10 @@ a merged sequence which is (stably) sorted according to The functions described here operate on lists. @menu -* List Functions:: `caddr', `first', `list*', etc. -* Substitution of Expressions:: `subst', `sublis', etc. -* Lists as Sets:: `member*', `adjoin', `union', etc. -* Association Lists:: `assoc*', `rassoc*', `acons', `pairlis' +* List Functions:: @code{caddr}, @code{first}, @code{list*}, etc. +* Substitution of Expressions:: @code{subst}, @code{sublis}, etc. +* Lists as Sets:: @code{member*}, @code{adjoin}, @code{union}, etc. +* Association Lists:: @code{assoc*}, @code{rassoc*}, @code{acons}, @code{pairlis} @end menu @node List Functions, Substitution of Expressions, Lists, Lists