spacemacs/layers
Miciah Masters 31f4c2a005 Advise rename-buffer when persp-mode activated
Before this commit, spacemacs-layouts/init-eyebrowse advised rename-buffer
with spacemacs//fixup-window-config.  However, this advice causes problems
if persp-mode is not activated when a function tries to rename a buffer.

In particular, Spacemacs's CI uses Emacs's batch mode to run
spacemacs/publish-doc, which uses rename-buffer.  In batch mode, persp-mode
is not activated, and consequently spacemacs/publish-doc was failing:

    Publishing file /home/travis/.emacs.d/news/news01.org using ‘org-html-publish-to-html’
    Skipping check for new version (reason: dotfile)
    Wrong type argument: hash-table-p, nil
    Warning (emacs): recentf mode: Wrong type argument: hash-table-p, nil
    spacemacs/publish-doc failed

In order to avoid problems, this commit moves the advising of rename-buffer
from spacemacs-layouts/init-eyebrowse to spacemacs//activate-persp-mode.

* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-eyebrowse): Move advice from here...
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//activate-persp-mode): ...to here.
2018-08-23 10:29:37 +01:00
..
+chat
+checkers doc: revise docs for auto-complete and syntax-checking layers 2018-08-15 22:15:45 +01:00
+completion Fix key bindings for wgrep 2018-08-21 23:52:22 +03:00
+distributions Reformat docs 2018-07-20 02:45:21 +03:00
+emacs doc: fix small typo in semantic feature block 2018-08-09 21:57:58 +01:00
+email Reformat docs 2018-07-20 02:45:21 +03:00
+filetree
+fonts/unicode-fonts
+frameworks Add prettier layer 2018-08-22 00:15:28 +03:00
+fun
+intl Add chinese-conv package to chinese layer. 2018-08-21 00:27:37 +03:00
+lang Add prettier layer 2018-08-22 00:15:28 +03:00
+misc Fixes copy-as-format documentation 2018-07-27 01:20:09 +03:00
+music/spotify
+os Associate nix-mode with .nix files 2018-08-16 00:19:11 +03:00
+pair-programming/floobits
+readers Fix Elfeed not saving on quit 2018-08-20 22:40:53 +01:00
+source-control github: Disable status, issues, and PRs by default 2018-08-18 15:06:26 -04:00
+spacemacs Advise rename-buffer when persp-mode activated 2018-08-23 10:29:37 +01:00
+tags doc: fix various errors in gtags layer README 2018-08-20 22:13:48 +01:00
+themes Reformat docs 2018-07-20 02:45:21 +03:00
+tools Add prettier layer 2018-08-22 00:15:28 +03:00
+vim
+web-services search-engine: add ecosia and make each engine use https 2018-08-15 20:22:42 +02:00
LAYERS.org
auto-layer.el core: Add support for lazy installation of the systemd layer 2018-08-11 11:56:29 +03:00