Skip to content

Commit

Permalink
disabled by default centering in space-doc-mode.
Browse files Browse the repository at this point in the history
Fix centered-buffer-mode conflict with Emacs 25
  • Loading branch information
JAremko authored and syl20bnr committed Sep 6, 2016
1 parent 03f9f9f commit 95f4119
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion doc/FAQ.org
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,9 @@ You can modify the list of visual enhancements applied by the =space-doc-mode=:
org-kbd-face-remap
resize-inline-images))
#+END_SRC
It's the default value of the variable with all enhancements.
By default only =center-buffer-mode= is disabled.
Both =space-doc-mode= and =center-buffer-mode= can be customized
with "Easy Customization Interface".

** Remap paste key to be able to paste copied text multiple times
In vim and evil, pasting over a text would cause it to be copied, hence making it impossible to paste
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ minimize the performance hit when the mode isn't used."
'spacemacs--centered-buffer-mode-origin-buffer
buffer)))
(when (ignore-errors (kill-buffer buffer))
(delete buffer 'spacemacs--centered-buffer-mode-indirect-buffers)
(setq spacemacs--centered-buffer-mode-indirect-buffers
(delete buffer spacemacs--centered-buffer-mode-indirect-buffers))
(when (buffer-live-p origin-buffer)
(spacemacs//centered-buffer-mode-buffer-fringr-color-toggle origin-buffer nil)
(with-current-buffer origin-buffer
Expand Down
3 changes: 1 addition & 2 deletions layers/+spacemacs/spacemacs-org/local/space-doc/space-doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ keeping their content visible.

;; NOTE: Dont forget to update Spacemacs FAQ if you modify this list!
(defcustom spacemacs-space-doc-modificators
'(center-buffer-mode
org-indent-mode
'(org-indent-mode
view-mode
hide-line-numbers
alternative-emphasis
Expand Down

0 comments on commit 95f4119

Please sign in to comment.