Minor tweaks and cleanup to the code

This commit is contained in:
2016-01-31 10:43:35 +00:00
parent 4d7a697a6f
commit 7d5612c87c
4 changed files with 5 additions and 6 deletions

View File

@@ -8,13 +8,12 @@
;; I need to keep this here commented out like this to prevent package.el from
;; automatically adding it again. I call `(package-initalize)' manually from
;; the `packages.el' file that's loaded in further down.
;; the `core/siren-packages.el' file that's loaded in further down.
;;
;; (package-initialize)
(defvar current-user
(getenv
(if (equal system-type 'windows-nt) "USERNAME" "USER")))
(getenv (if (equal system-type 'windows-nt) "USERNAME" "USER")))
(message "Siren is powering up... Be patient, Master %s!" current-user)

View File

@@ -57,7 +57,8 @@
(unless (or (null position) (null name)
(string= (car imenu--rescan-item) name))
(add-to-list 'symbol-names (substring-no-properties name))
(add-to-list 'name-and-pos (cons (substring-no-properties name) position))))))))
(add-to-list 'name-and-pos (cons (substring-no-properties name)
position))))))))
(global-set-key (kbd "C-t") 'siren-goto-symbol)

View File

@@ -15,7 +15,7 @@
(setq tab-width 2)
(setq sh-basic-offset 2)
(setq sh-indentation 2)
(setq highlight-indentation-offset 2)
(highlight-indentation-set-offset 2)
(highlight-indentation-mode)
(highlight-indentation-current-column-mode)
(setq whitespace-action (quote (auto-cleanup)))

View File

@@ -9,7 +9,6 @@
;; Modules
(require 'siren-aliases)
(require 'siren-avy)
;; (require 'siren-auto-complete)
(require 'siren-company)
(require 'siren-dired)
(require 'siren-exec-path-from-shell)