From 5a6dd4e9dc4e7e8ca0889f6fcd0cff652e3d0b20 Mon Sep 17 00:00:00 2001 From: Zach Jibben Date: Tue, 31 Jul 2018 10:21:29 -0600 Subject: [PATCH] Clean up .el headers --- init-lite.el | 3 --- init.el | 5 +---- lisp/init/init-commands.el | 7 ++----- lisp/init/init-config.el | 6 +----- lisp/init/init-packages.el | 4 ++-- lisp/init/init-proxy.el | 5 +---- lisp/init/init-theme.el | 3 --- 7 files changed, 7 insertions(+), 26 deletions(-) diff --git a/init-lite.el b/init-lite.el index 70a1d62..93e04dc 100644 --- a/init-lite.el +++ b/init-lite.el @@ -1,11 +1,8 @@ -;; ;; emacs-lite configuration file ;; ;; I use this to load up a lighter emacs in the terminal for quick edits. ;; It essentially contains most of the configuration from init-config, ;; without setting up my packages and more complex commands and modes. -;; -;; zjibben ;; basic configuration (setq-default indent-tabs-mode nil ; spaces instead of tabs diff --git a/init.el b/init.el index d90d2ea..641d53d 100644 --- a/init.el +++ b/init.el @@ -1,7 +1,4 @@ -;; -;; emacs configuration file -;; -;; zjibben +;; my emacs configuration file (add-to-list 'load-path "~/.emacs.d/lisp/init/") (add-to-list 'load-path "~/.emacs.d/lisp/") diff --git a/lisp/init/init-commands.el b/lisp/init/init-commands.el index 55b6eaa..8e7d65d 100644 --- a/lisp/init/init-commands.el +++ b/lisp/init/init-commands.el @@ -1,9 +1,6 @@ -;; ;; init-commands ;; -;; initialize a few commands I use -;; -;; zjibben +;; initialize my own commands (require 'cl) @@ -59,7 +56,7 @@ ;; if ctags isn't found, use etags ;; case insensitive, including .f .f90 .c .h .cu .cl files (add .py?) - (shell-command + (shell-command (format "find %s -type f -iname \"*.f90\" -o -iname \"*.[fch]\" -o -iname \"*.c[lu]\" \\ | etags - -o %s/TAGS" dir dir))))) diff --git a/lisp/init/init-config.el b/lisp/init/init-config.el index 9634b5f..f866af1 100644 --- a/lisp/init/init-config.el +++ b/lisp/init/init-config.el @@ -1,11 +1,7 @@ -;; ;; init-config ;; -;; initialize basic emacs configuration -;; -;; zjibben +;; basic emacs configuration -;; basic configuration (setq-default display-time-default-load-average nil ; hide load average in modeline display-time-day-and-date 1 ; display both date and time indent-tabs-mode nil ; spaces instead of tabs diff --git a/lisp/init/init-packages.el b/lisp/init/init-packages.el index e0c7d76..9a8d8ea 100644 --- a/lisp/init/init-packages.el +++ b/lisp/init/init-packages.el @@ -1,6 +1,6 @@ -;; initialize repositories and packages +;; init-packages ;; -;; zjibben +;; initialize repositories and packages ;; add repos ;; LANL proxy doesn't like some https, so need to use http when behind it diff --git a/lisp/init/init-proxy.el b/lisp/init/init-proxy.el index b44604a..a9c656e 100644 --- a/lisp/init/init-proxy.el +++ b/lisp/init/init-proxy.el @@ -1,12 +1,9 @@ -;; ;; init-proxy ;; ;; initialize proxy for emacs internet access -;; -;; zjibben ;; note proxy addresses and ports are set in init-personal-info.el -(setq url-proxy-services +(setq url-proxy-services `(("no_proxy" . ,no-proxy-domain) ("http" . ,(concat http-proxy-host ":" (number-to-string http-proxy-port))) ("https" . ,(concat https-proxy-host ":" (number-to-string https-proxy-port))) )) diff --git a/lisp/init/init-theme.el b/lisp/init/init-theme.el index 9ea8482..4693d43 100644 --- a/lisp/init/init-theme.el +++ b/lisp/init/init-theme.el @@ -1,9 +1,6 @@ -;; ;; init-theme ;; ;; initialize theming -;; -;; zjibben ;;(setq color-theme-is-global nil) ;; only for color-theme package?