comparison lisp/eshell/em-prompt.el @ 110580:f57f72bb4757

Cosmetic doc fixes for eshell. * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el: * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el: * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el: * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el: * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el: * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el: * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el: * eshell/esh-util.el, eshell/esh-var.el: Remove leading `*' from docs of faces and defcustoms.
author Glenn Morris <rgm@gnu.org>
date Sat, 25 Sep 2010 14:51:55 -0700
parents 1d1d5d9bd884
children 417b1e4d63cd
comparison
equal deleted inserted replaced
110579:5fabe7db5188 110580:f57f72bb4757
37 :group 'eshell-module) 37 :group 'eshell-module)
38 38
39 ;;; User Variables: 39 ;;; User Variables:
40 40
41 (defcustom eshell-prompt-load-hook '(eshell-prompt-initialize) 41 (defcustom eshell-prompt-load-hook '(eshell-prompt-initialize)
42 "*A list of functions to call when loading `eshell-prompt'." 42 "A list of functions to call when loading `eshell-prompt'."
43 :type 'hook 43 :type 'hook
44 :group 'eshell-prompt) 44 :group 'eshell-prompt)
45 45
46 (defcustom eshell-prompt-function 46 (defcustom eshell-prompt-function
47 (function 47 (function
53 prompt." 53 prompt."
54 :type 'function 54 :type 'function
55 :group 'eshell-prompt) 55 :group 'eshell-prompt)
56 56
57 (defcustom eshell-prompt-regexp "^[^#$\n]* [#$] " 57 (defcustom eshell-prompt-regexp "^[^#$\n]* [#$] "
58 "*A regexp which fully matches your eshell prompt. 58 "A regexp which fully matches your eshell prompt.
59 This setting is important, since it affects how eshell will interpret 59 This setting is important, since it affects how eshell will interpret
60 the lines that are passed to it. 60 the lines that are passed to it.
61 If this variable is changed, all Eshell buffers must be exited and 61 If this variable is changed, all Eshell buffers must be exited and
62 re-entered for it to take effect." 62 re-entered for it to take effect."
63 :type 'regexp 63 :type 'regexp
64 :group 'eshell-prompt) 64 :group 'eshell-prompt)
65 65
66 (defcustom eshell-highlight-prompt t 66 (defcustom eshell-highlight-prompt t
67 "*If non-nil, Eshell should highlight the prompt." 67 "If non-nil, Eshell should highlight the prompt."
68 :type 'boolean 68 :type 'boolean
69 :group 'eshell-prompt) 69 :group 'eshell-prompt)
70 70
71 (defface eshell-prompt 71 (defface eshell-prompt
72 '((((class color) (background light)) (:foreground "Red" :bold t)) 72 '((((class color) (background light)) (:foreground "Red" :bold t))
73 (((class color) (background dark)) (:foreground "Pink" :bold t)) 73 (((class color) (background dark)) (:foreground "Pink" :bold t))
74 (t (:bold t))) 74 (t (:bold t)))
75 "*The face used to highlight prompt strings. 75 "The face used to highlight prompt strings.
76 For highlighting other kinds of strings -- similar to shell mode's 76 For highlighting other kinds of strings -- similar to shell mode's
77 behavior -- simply use an output filer which changes text properties." 77 behavior -- simply use an output filer which changes text properties."
78 :group 'eshell-prompt) 78 :group 'eshell-prompt)
79 (define-obsolete-face-alias 'eshell-prompt-face 'eshell-prompt "22.1") 79 (define-obsolete-face-alias 'eshell-prompt-face 'eshell-prompt "22.1")
80 80
81 (defcustom eshell-before-prompt-hook nil 81 (defcustom eshell-before-prompt-hook nil
82 "*A list of functions to call before outputting the prompt." 82 "A list of functions to call before outputting the prompt."
83 :type 'hook 83 :type 'hook
84 :options '(eshell-begin-on-new-line) 84 :options '(eshell-begin-on-new-line)
85 :group 'eshell-prompt) 85 :group 'eshell-prompt)
86 86
87 (defcustom eshell-after-prompt-hook nil 87 (defcustom eshell-after-prompt-hook nil
88 "*A list of functions to call after outputting the prompt. 88 "A list of functions to call after outputting the prompt.
89 Note that if `eshell-scroll-show-maximum-output' is non-nil, then 89 Note that if `eshell-scroll-show-maximum-output' is non-nil, then
90 setting `eshell-show-maximum-output' here won't do much. It depends 90 setting `eshell-show-maximum-output' here won't do much. It depends
91 on whether the user wants the resizing to happen while output is 91 on whether the user wants the resizing to happen while output is
92 arriving, or after." 92 arriving, or after."
93 :type 'hook 93 :type 'hook