diff options
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-settings.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el index 39140a3..b17f4a6 100644 --- a/emacs/custom/my-settings.el +++ b/emacs/custom/my-settings.el @@ -4,6 +4,8 @@ ;;; Code: +(require 'url-cookie) + ;; set utf-8 as the default encoding (prefer-coding-system 'utf-8-unix) (setq locale-coding-system 'utf-8) @@ -32,6 +34,9 @@ (setq initial-scratch-message "") ;; empty scratch buffer (setq garbage-collection-messages t) ;; log when the gc kicks in +;; where to store cookies +(setq url-cookie-file (expand-file-name "var/url/cookies" user-emacs-directory)) + (custom-set-variables '(use-file-dialog nil) '(use-dialog-box nil) @@ -65,7 +70,7 @@ (defvar my/yasnippets (expand-file-name "etc/snippets" user-emacs-directory)) (if (and (file-exists-p my/yasnippets) (not (member my/yasnippets yas-snippet-dirs))) - (add-to-list 'yas-snippet-dirs my/yasnippets)) + (setq yas--default-user-snippets-dir my/yasnippets)) ;; the default (tab) conflicts with corfu for completion (define-key yas-minor-mode-map (kbd "C-c y") #'yas-expand) |