Changeset fc6fa17 in dotfiles for emacs/.emacs.d/.emacs-config.org
- Timestamp:
- Sep 6, 2024, 3:49:57 AM (2 months ago)
- Branches:
- master
- Children:
- 5211578
- Parents:
- fde9de8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs.d/.emacs-config.org
rfde9de8 rfc6fa17 28 28 29 29 (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") 30 ("melpa" . "http://melpa.org/packages/")))30 ("melpa" . "http://melpa.org/packages/"))) 31 31 32 32 (when (< emacs-major-version 27) … … 82 82 #+BEGIN_SRC emacs-lisp :tangle init.el 83 83 (setq config-dotfiles-path "/home/w96k/projects/dotfiles/emacs/.emacs.d/" 84 config-path "~/.emacs.d/"85 config-name ".emacs-config.org")84 config-path "~/.emacs.d/" 85 config-name ".emacs-config.org") 86 86 87 87 (defun config-visit () … … 483 483 #+begin_src emacs-lisp :tangle init.el 484 484 (use-package rmsbolt 485 :defer t 486 :hook (prog-mode . rmsbolt-mode)) 485 :defer t) 487 486 #+end_src 488 487 … … 1224 1223 #+end_src 1225 1224 1225 ** Window Divider 1226 #+begin_src emacs-lisp :tangle init.el 1227 (window-divider-mode t) 1228 #+end_src 1229 1230 ** Use specific font for major modes 1231 #+begin_src emacs-lisp :tangle init.el 1232 (buffer-face-mode t) 1233 1234 (defun set-normal-font () 1235 "Set normal weight font in current buffer" 1236 (interactive) 1237 (buffer-face-mode 1) 1238 (setq buffer-face-mode-face '(:weight normal)) 1239 (buffer-face-mode)) 1240 1241 ;; Use monospaced font faces in current buffer 1242 (defun set-bold-font () 1243 "Sets a bold font in current buffer" 1244 (interactive) 1245 (buffer-face-mode 1) 1246 (setq buffer-face-mode-face '(:weight bold)) 1247 (buffer-face-mode)) 1248 1249 (add-hook 'dired-mode-hook 'set-normal-font) 1250 (add-hook 'org-mode-hook 'set-normal-font) 1251 #+end_src
Note:
See TracChangeset
for help on using the changeset viewer.