Skip to content

Commit

Permalink
Merge branch 'develop' (v0.48.5)
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Jan 21, 2015
2 parents d8e7457 + 17a263d commit d76b6ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defconst spacemacs-version "0.48.3" "Spacemacs version.")
(defconst spacemacs-version "0.48.5" "Spacemacs version.")
(defconst spacemacs-min-version "24.3" "Mininal required version of Emacs.")

(defun spacemacs/emacs-version-ok ()
Expand Down
14 changes: 9 additions & 5 deletions spacemacs/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
;; rainbow-blocks
rainbow-delimiters
;; install fail on windows
;; rainbow-mode
rainbow-mode
rcirc
rcirc-color
recentf
Expand Down Expand Up @@ -2078,6 +2078,7 @@ which require an initialization must be listed explicitly in the list.")
(when (configuration-layer/package-declaredp 'powerline)
(defun window-numbering-install-mode-line (&optional position)
"Do nothing, the display is handled by the powerline."))
(setq window-numbering-auto-assign-0-to-minibuffer nil)
(evil-leader/set-key
"0" 'select-window-0
"1" 'select-window-1
Expand Down Expand Up @@ -2108,11 +2109,14 @@ which require an initialization must be listed explicitly in the list.")
((equal str "9") "")
((equal str "0") ""))))

(defun spacemacs//window-numbering-assign ()
(defun spacemacs//window-numbering-assign (windows)
"Custom number assignment for special buffers."
(when (equal (buffer-name) " *NeoTree*") 0))
(setq window-numbering-assign-func ''spacemacs//window-numbering-assign)
))
(mapc (lambda (w)
(when (and (boundp 'neo-global--window)
(eq w neo-global--window))
(window-numbering-assign w 0)))
windows))
(add-hook 'window-numbering-before-hook 'spacemacs//window-numbering-assign)))

(defun spacemacs/init-yasnippet ()
(use-package yasnippet
Expand Down

0 comments on commit d76b6ac

Please sign in to comment.