spacemacs/layers/+spacemacs
Miciah def07cbfa3 Fix smart-closing-parenthesis extra parenthesis
Fix issue #9477: spacemacs/smart-closing-parenthesis sometimes adds an
extra closing parenthesis.

spacemacs/smart-closing-parenthesis may call sp-up-sexp twice: first to
find the position of an existing closing delimiter or the position at which
one would be inserted, and second to insert a delimiter if necessary or
else move point after the existing closing delimiter.

The problem is that each call to sp-up-sexp may insert a delimiter, but
spacemacs/smart-closing-parenthesis is supposed to insert at most one.

The solution is to undo any edit performed by the first call to sp-up-sexp.

* layers/+spacemacs/spacemacs-editing/funcs.el: Undo any edit performed by
the first call to sp-up-sexp.
2018-08-04 10:48:00 -04:00
..
spacemacs-completion Move helm variable from helm layer to spacemacs-completion layer 2018-06-16 00:02:59 -04:00
spacemacs-defaults Bind SPC f i to spacemacs/insert-file 2018-08-01 22:46:40 -04:00
spacemacs-editing Fix smart-closing-parenthesis extra parenthesis 2018-08-04 10:48:00 -04:00
spacemacs-editing-visual Defer volatile hightlight by 2 seconds 2018-06-14 02:06:19 -04:00
spacemacs-evil Load evil-surround when entering operator state 2018-07-12 11:56:20 +03:00
spacemacs-language Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
spacemacs-layouts Fixes errors when restoring a perspective 2018-07-04 01:17:28 +03:00
spacemacs-misc Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
spacemacs-modeline spaceline: fix copy-paste error in lazy-load hook name 2018-06-20 09:51:45 +03:00
spacemacs-navigation Lazy load flx-ido 2018-06-14 21:09:40 -04:00
spacemacs-org org: fix https links 2018-05-22 13:08:43 +03:00
spacemacs-project Fix the projectile layer 2018-07-09 23:17:08 +02:00
spacemacs-purpose Remove obsolete purpose-conf argument for good 2018-06-20 23:56:41 +03:00
spacemacs-visual Adds *Process List* to popwin:special-display-config 2018-06-26 09:11:17 +03:00