what is custom-set-variables and faces in my .emacs?

后端 未结 3 913
别那么骄傲
别那么骄傲 2021-02-12 10:17

this is in my .emacs can I mess with it or not?

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess          


        
3条回答
  •  甜味超标
    2021-02-12 10:49

    Don't add anything to these lines manually — your changes will be vanished by emacs on some events. Instead add custom variables with customize-set-variable and custom faces with set-face-attribute:

    (customize-set-variable 'blink-cursor-mode nil)
    (set-face-attribute 'default nil :family "DejaVu Sans Mono")
    

    In order to customize face of some package one sometimes need to request the package first, and after that set its face:

    (require 'mumamo)
    (set-face-attribute 'mumamo-background-chunk-major nil :background nil)
    

提交回复
热议问题