Skip to main content
3 of 3
alternative approach

just delete ~/.emacs.d/elpa/*/develop/expand-region* and spacemacs will re-install it.

https://github.com/syl20bnr/spacemacs/issues/12099#issuecomment-480904298

@flatwhatson
The problem is that expand-region is byte-compiled with the built-in org, but then the org layer installs a newer version from ELPA which has changed the definition of the org-save-outline-visibility macro, leading to the symbol error.


As an alternative, you can try to update/reinstall the expand-region package via M-x package-reinstall RET expand-region RET (you might have to do M-x package-refresh-contents RET first to update your package index from ELPA.)