New answers tagged

0

Don't evaluate list when you set mode-line-format. Use ' instead of list: (setq-default mode-line-format '("%e" mode-line-position " " mode-line-modified " " mode-line-buffer-identification " " mode-line-modes " " mode-line-misc-info )) At the ...


3

The single quote inhibits evaluation of elements in the list. An alternative form would be to use the function list instead of single quote, or use a backtick and comma combination. See: https://www.gnu.org/software/emacs/manual/html_node/elisp/Backquote.html (progn (setq a 2) (setq l `(,a b c)) (car l)) or (let (a b c l) (setq a 2) (setq ...


Top 50 recent answers are included