This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+spacemacs/spacemacs-editing-visual
duianto 96438694f4
[base] Add cl- prefix to letf and letf*
The cl package has been deprecated.

It had aliases for cl- prefixed commands without the cl- prefix.
Ex: letf or letf* instead of cl-letf or cl-letf*

On the `spacemacs-base` distribution, with the `ivy` layer.
When one tries to search with `SPC /`
(which calls `spacemacs/counsel-search`)

Then this error message is shown:
>spacemacs/counsel-search: Symbol’s function definition is void: letf*

It doesn't happen with the `helm` layer,
because it's search commands already has the `cl-` prefix.

There are also three instances of: `letf`
in the `spacemacs-editing-visual` layers functions:
- `spacemacs/toggle-centered-buffer` (`SPC w c c`)
- `spacemacs/toggle-distraction-free` (`SPC w c C`)
- `spacemacs/centered-buffer-transient-state` (`SPC w c .`)

Without the `cl-` prefix they show the error message:
>Symbol’s function definition is void: letf
2020-02-08 09:17:52 +00:00
..
local/hide-comnt
funcs.el [base] Add cl- prefix to letf and letf* 2020-02-08 09:17:52 +00:00
packages.el Update transient state wording, etc. 2019-11-23 23:12:37 +01:00
README.org documentation formatting: Tue May 28 14:41:10 UTC 2019 2019-05-28 17:43:54 +03:00

spacemacs-editing-visual layer

Description

This layer defines a lot of functions used to visually enhance the currently edited line in Spacemacs.

Features:

  • Adaptive wrapping
  • Hiding of comments
  • Highlighting of columns longer than 80 chars
  • Highlighting of different indentations
  • Automatic highlighting of numbers
  • Automatic highlighting of parentheses