Emacs小地图:更改屏幕区域的颜色

Emacs小地图:更改屏幕区域的颜色,emacs,colors,Emacs,Colors,默认情况下,显示当前正在屏幕上查看的源代码部分的小地图区域的颜色为红色。我觉得这很让人分心。是否有办法更改此设置?如果有帮助,您还可以在emacs文件中配置颜色 使用功能自定义设置面: ;; changing colors (custom-set-faces '(minimap-active-region-background ((((background dark)) (:background "#2A2A2A222222")) (t (:background "#D3

默认情况下,显示当前正在屏幕上查看的源代码部分的小地图区域的颜色为红色。我觉得这很让人分心。是否有办法更改此设置?

如果有帮助,您还可以在emacs文件中配置颜色

使用功能
自定义设置面

;; changing colors
(custom-set-faces
  '(minimap-active-region-background
    ((((background dark)) (:background "#2A2A2A222222"))
      (t (:background "#D3D3D3222222")))
    "Face for the active region in the minimap.
By default, this is only a different background color."
    :group 'minimap))

有关更多信息:

请尝试将光标放在小地图中具有要更改颜色的点上,然后键入:
M-x自定义面