Remove obsolete purpose-conf name argument

This message is shown when Spacemacs starts:
../../Users/Username/AppData/Roaming/.emacs.d/layers/+spacemacs/spacemacs-purpose/local/spacemacs-purpose-popwin/spacemacs-purpose-popwin.el: Obsolete name arg "pupo" to constructor purpose-conf

The name argument, seems to only be needed for Emacs <= 24.3, according to this
line in the emacs-purpose package:
;; the name arg ("purpose-x-code1") is necessary for Emacs 24.3 and older

source:
00ddafcf48/window-purpose-x.el (L71)

The minimum version supported by Spacemacs is 24.4.
This commit is contained in:
duianto 2017-08-13 16:21:46 +02:00 committed by syl20bnr
parent 24ed4bce59
commit 4db4424b90

View file

@ -185,8 +185,7 @@ Popwin's settings are taken from `popwin:special-display-config'."
(cond ((symbolp pattern) mode-purposes)
((plist-get settings :regexp) regexp-purposes)
(t name-purposes))))
(purpose-conf "pupo"
:mode-purposes mode-purposes
(purpose-conf :mode-purposes mode-purposes
:name-purposes name-purposes
:regexp-purposes regexp-purposes)))