+2009-09-24 Ivan Kanis <apple@kanis.eu>
+
+ * term.el (term-bold-attribute): New var.
+ (term-handle-colors-array): Use it.
+
2009-09-23 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-mi.el (gdb-version): New variable.
;; New function to deal with ansi colorized output, as you can see you can
;; have any bold/underline/fg/bg/reverse combination. -mm
+(defvar term-bold-attribute '(:weight bold))
+ "Attribute to use for the bold terminal attribute.
+Set it to nil to disable bold.")
+
(defun term-handle-colors-array (parameter)
(cond
(elt ansi-term-color-vector term-ansi-current-bg-color))))
(when term-ansi-current-bold
(setq term-current-face
- (append '(:weight bold) term-current-face)))
+ (append term-bold-attribute term-current-face)))
(when term-ansi-current-underline
(setq term-current-face
(append '(:underline t) term-current-face))))
(elt ansi-term-color-vector term-ansi-current-bg-color))))
(when term-ansi-current-bold
(setq term-current-face
- (append '(:weight bold) term-current-face)))
+ (append term-bold-attribute term-current-face)))
(when term-ansi-current-underline
(setq term-current-face
(append '(:underline t) term-current-face))))))