emacsのコマンド補完

emacsのコマンドを補完するmcompleteというelispは便利である。
しかし背景が白の場合、補完される文字が非常に見づらい。
そのためelispコード内のforeground部分をDarkGreenにしている。
以下は変更部分。

(defface mcomplete-prefix-method-fixed-part-face
  '((t (:bold t :foreground "DarkGreen")))
  "Face to highlight the fixed part of input for prefix matching method."
  :group      'mcomplete)
                     
(defface mcomplete-prefix-method-alternative-part-face
  '((t (:foreground "DarkGreen")))
  "Face to highlight the alternative part of input for prefix matching method."
  :group      'mcomplete)

;;; 中略

(defface mcomplete-substr-method-fixed-part-face
  '((t (:bold t :foreground "DarkGreen")))
  "Face to highlight the fixed part of input for substring matching method."
  :group      'mcomplete)
                     
(defface mcomplete-substr-method-alternative-part-face
  '((t (:foreground "DarkGreen")))
  "Face to highlight alternative parts of input for substring matching method."
  :group      'mcomplete)

また、mcomplete-historyというelispも追加している。