X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fghci.xml;h=1bed4c2f2c59f9d143aec62de12c485e11f651db;hb=e0a09c5bb3527cfdc1f2416d597cce50a141d31c;hp=cac0e117fb517d87304b277cd37545fbd6ee46fb;hpb=2f6a66ee1b53d093c8bbfe6534598719e4d4647f;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/ghci.xml b/ghc/docs/users_guide/ghci.xml index cac0e11..1bed4c2 100644 --- a/ghc/docs/users_guide/ghci.xml +++ b/ghc/docs/users_guide/ghci.xml @@ -63,7 +63,8 @@ Prelude> :show modules show the currently loaded modules :show bindings show the current bindings made at the prompt - :tags -e|-c create tags file for Vi (-c) or Emacs (-e) + :ctags [<file>] create tags file for Vi (default: "tags") + :etags [<file>] create tags file for Emacs (defauilt: "TAGS") :type <expr> show the type of <expr> :kind <type> show the kind of <type> :undef <cmd> undefine user-defined command :<cmd> @@ -1138,17 +1139,21 @@ Prelude> :. cmds.ghci - :tags -c|-e - :tags + :ctags filename + :etags filename + :etags + + :etags - Generates a “tags” file for either Vi-style editors - (-c) or Emacs-style editors - (-e). The file generated will be called - tags or TAGS - respectively. - + Generates a “tags” file for Vi-style editors + (:ctags) or Emacs-style editors (etags). If + no filename is specified, the defaulit tags or + TAGS is + used, respectively. Tags for all the functions, constructors and + types in the currently loaded modules are created. All modules must + be interpreted for these commands to work. See also .