summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-01-25 15:12:28 -0500
committerKyle Meyer <kyle@kyleam.com>2014-01-25 15:14:17 -0500
commit47e1d90700105f6b0f0550d7632a22b3fe81acb9 (patch)
tree6a0dbc1c2316c8e9c831f5377e7f0aecfcfcf481
parent851b048b8810a8a0a0b8ca8d4d17633d5411bb6d (diff)
downloademacs.d-47e1d90700105f6b0f0550d7632a22b3fe81acb9.tar.gz
Remove useless defcustoms
-rw-r--r--init/km-dired.el2
-rw-r--r--init/km-func.el2
-rw-r--r--init/km-modes.el8
-rw-r--r--init/km-org.el6
4 files changed, 9 insertions, 9 deletions
diff --git a/init/km-dired.el b/init/km-dired.el
index f22454f..e0011c3 100644
--- a/init/km-dired.el
+++ b/init/km-dired.el
@@ -8,7 +8,7 @@
(setq dired-omit-files
(concat dired-omit-files "\\|\\.git$\\|\\.gitignore$\\|__pycache__"))
-(defcustom km/latex-omit-extensions '(".aux"
+(defvar km/latex-omit-extensions '(".aux"
".fdb_latexmk"
".fls"
".log"
diff --git a/init/km-func.el b/init/km-func.el
index c772c30..93f374d 100644
--- a/init/km-func.el
+++ b/init/km-func.el
@@ -4,7 +4,7 @@
;; Buffer-specific prevention modified from
;; http://stackoverflow.com/questions/14913398/
;; in-emacs-how-do-i-save-without-running-save-hooks.
-(defcustom km/prevent-cleanup nil
+(defvar km/prevent-cleanup nil
"If set, `km/cleanup-buffer' does not perform clean up on save.")
(defun km/toggle-prevent-cleanup ()
diff --git a/init/km-modes.el b/init/km-modes.el
index a4b88f3..87ff5e5 100644
--- a/init/km-modes.el
+++ b/init/km-modes.el
@@ -1,10 +1,10 @@
;; These could be kept alongside related topics, but for whatever reason
;; I prefer having them together.
-(defcustom km/modes '(("\\.zsh$" . shell-script-mode)
- ("\\.*rc$" . conf-unix-mode)
- ("\\.org.txt$" . org-mode)
- ("PKGBUILD" . pkgbuild-mode))
+(defvar km/modes '(("\\.zsh$" . shell-script-mode)
+ ("\\.*rc$" . conf-unix-mode)
+ ("\\.org.txt$" . org-mode)
+ ("PKGBUILD" . pkgbuild-mode))
"Auto mode mappings")
(mapc
diff --git a/init/km-org.el b/init/km-org.el
index 4459259..2b8af45 100644
--- a/init/km-org.el
+++ b/init/km-org.el
@@ -129,9 +129,9 @@ be restored properly."
;;; Refiling
-(defcustom km/org-refiling-targets
- (append org-agenda-files '("~/notes/backburner.org" "~/notes/misc.org"))
- "List of all refiling targets for agend, including non-agenda
+(defvar km/org-refiling-targets
+ (append org-agenda-files '("~/notes/backburner.org" "~/notes/misc.org"))
+ "List of refiling targets for agenda, including non-agenda
files.")
(setq org-refile-targets (quote ((nil :maxlevel . 3)