diff --git a/init.el b/init.el index cc6318e..8a980ee 100644 --- a/init.el +++ b/init.el @@ -83,7 +83,7 @@ ;; Font configuration (let ((my-font "Iosevka Term") - (my-height (if (eq window-system 'ns) 130 120))) + (my-height 120)) (set-face-attribute 'default nil :family my-font :height my-height) (set-face-attribute 'fixed-pitch nil :family my-font :height my-height)) (set-face-attribute 'variable-pitch nil :family "Libertinus Serif" :height 160) @@ -368,7 +368,7 @@ ;;; Knowledge management: org-mode, org-roam, bibliography ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(setq notes-dir (if (eq window-system 'ns) "~/Documents/personal/notes" "~/Documents/notes")) +(setq notes-dir "~/Documents/notes") ;; Pour accéder rapidement à l'organisation (defun gtd () @@ -854,10 +854,8 @@ (use-package pet :ensure t - :config - ;; The -10 tells `add-hook' to makes sure the function is called as early as - ;; possible whenever it is added to the hook variable - (add-hook 'python-base-mode-hook 'pet-mode -10)) + :hook + (python-base-mode . (lambda () (pet-mode -10)))) (use-package paredit :ensure t