summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-29 08:59:15 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-29 08:59:15 -0700
commit80d30f549f0701a89de546a62910d1958195c102 (patch)
treeecf3772952ad97d3dc1a008b0ee56944080f4a41 /emacs/custom
parentmy-text: enable goto-address-mode (diff)
downloademacs.d-80d30f549f0701a89de546a62910d1958195c102.tar.gz
don't specify where to write Emacs files
We don't care, as long as these files are ignored in `.gitignore' it
does not matter where we write them.
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/my-navigation.el3
-rw-r--r--emacs/custom/my-prog.el1
-rw-r--r--emacs/custom/my-settings.el6
-rw-r--r--emacs/custom/my-text.el1
-rw-r--r--emacs/custom/my-tramp.el1
5 files changed, 0 insertions, 12 deletions
diff --git a/emacs/custom/my-navigation.el b/emacs/custom/my-navigation.el
index d7c8eba..b7c8627 100644
--- a/emacs/custom/my-navigation.el
+++ b/emacs/custom/my-navigation.el
@@ -6,7 +6,6 @@
 
 (setq help-window-select t)
 
-(customize-set-variable 'project-list-file (expand-file-name "var/projects" user-emacs-directory))
 (customize-set-variable 'project-switch-commands
                         '((?f "File" project-find-file)
                           (?d "Dired" project-dired)
@@ -16,14 +15,12 @@
                           (?r "Search" rg-project)))
 
 (customize-set-variable 'bookmark-save-flag 1)
-(customize-set-variable 'bookmark-file (expand-file-name "var/bookmarks" user-emacs-directory))
 
 (global-set-key (kbd "C-x C-b") 'ibuffer)
 (global-set-key (kbd "M-g i") 'imenu)
 
 (customize-set-variable 'recentf-max-saved-items 500)
 (customize-set-variable 'recentf-exclude '(".gz" ".xz" ".zip"))
-(customize-set-variable 'recentf-save-file (expand-file-name "var/recentf" user-emacs-directory))
 (add-hook 'after-init-hook 'recentf-mode)
 
 (customize-set-variable 'rg-group-result t)
diff --git a/emacs/custom/my-prog.el b/emacs/custom/my-prog.el
index f91f116..50b0056 100644
--- a/emacs/custom/my-prog.el
+++ b/emacs/custom/my-prog.el
@@ -36,7 +36,6 @@
   (add-hook hook 'flymake-mode))
 
 ;; yasnippet is required to support place holders with eglot
-(customize-set-variable 'yas-snippet-dirs (list (expand-file-name "etc/snippets" user-emacs-directory)))
 (dolist (hook '(prog-mode-hook conf-mode-hook org-mode-hook))
   (add-hook hook 'yas-minor-mode))
 
diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el
index a4cb1af..ebb0cc5 100644
--- a/emacs/custom/my-settings.el
+++ b/emacs/custom/my-settings.el
@@ -4,9 +4,6 @@
 
 ;;; Code:
 
-(defvar my/custom-settings (expand-file-name "var/emacs-custom.el" user-emacs-directory)
-  "Path to Emacs custom variables.")
-
 ;; set utf-8 as the default encoding
 (prefer-coding-system 'utf-8-unix)
 (setq locale-coding-system 'utf-8)
@@ -21,7 +18,6 @@
 (setq auto-save-list-file-prefix nil)            ;; no backups
 (setq create-lockfiles nil)                      ;; don't use a lock file
 (setq confirm-kill-emacs #'yes-or-no-p)          ;; ask before killing emacs
-(setq custom-file my/custom-settings)            ;; where to save custom settings
 (setq make-backup-files nil)                     ;; really no backups
 (setq minibuffer-message-timeout 0.5)            ;; How long to display an echo-area message
 (setq next-screen-context-lines 5)               ;; scroll 5 lines at a time
@@ -47,7 +43,6 @@
       user-mail-address "franck@fcuny.net"
       add-log-mailing-address "franck@fcuny.net")
 
-(customize-set-variable 'savehist-file (expand-file-name "var/history" user-emacs-directory))
 (customize-set-variable 'history-length 1000)
 (customize-set-variable 'history-delete-duplicates t)
 (customize-set-variable 'savehist-save-minibuffer-history t)
@@ -55,7 +50,6 @@
 
 (add-hook 'after-init-hook 'midnight-mode)
 
-(customize-set-variable 'save-place-file (expand-file-name "var/places" user-emacs-directory))
 (customize-set-variable 'save-place-forget-unreadable-files t)
 (add-hook 'after-init-hook #'save-place-mode)
 
diff --git a/emacs/custom/my-text.el b/emacs/custom/my-text.el
index 3a58ebb..53a3c19 100644
--- a/emacs/custom/my-text.el
+++ b/emacs/custom/my-text.el
@@ -18,7 +18,6 @@
 (when (executable-find "pandoc")
   (customize-set-variable 'markdown-command "pandoc -f markdown -t html"))
 
-(customize-set-variable 'abbrev-file-name (expand-file-name "var/abbrev_defs" user-emacs-directory))
 (eval-after-load 'dabbrev
   (let ((map global-map))
     (define-key map (kbd "M-/") #'dabbrev-expand)
diff --git a/emacs/custom/my-tramp.el b/emacs/custom/my-tramp.el
index 3d87f7a..ed343bc 100644
--- a/emacs/custom/my-tramp.el
+++ b/emacs/custom/my-tramp.el
@@ -4,7 +4,6 @@
 
 ;;; Code:
 
-(customize-set-variable 'tramp-persistency-file-name (expand-file-name "var/tramp" user-emacs-directory))
 (customize-set-variable 'tramp-default-method "ssh")
 (customize-set-variable 'tramp-histfile-override t)
 (customize-set-variable 'tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C'")