Minor edits

This commit is contained in:
Gerard Vermeulen 2021-12-29 10:05:06 +01:00
parent cd2f934bcb
commit bd11afdcf7

View File

@ -1567,12 +1567,12 @@ on tables by means of =org-narrow-to-table=.
(add-hook 'text-mode-hook #'ws-butler-mode)))
#+end_src
** Structure editing
** Structural editing
:PROPERTIES:
:CUSTOM_ID: sec:structure-editing
:CUSTOM_ID: sec:structural-editing
:END:
Structure editing keeps character pairs (for instance parentheses, curly and
Structural editing keeps character pairs (for instance parentheses, curly and
square brackets as well as single and double quotes) balanced to leave code (for
instance Lisp and Python) and text (for instance LaTeX and Org) structure
intact. I use [[https://github.com/Fuco1/smartparens][smartparens]] which offers a normal mode (=smartparens-mode=) and a
@ -1653,8 +1653,8 @@ LaTeX, Org, and Python.
:END:
Listing [[lst:configure-electric-operator-mode]] configures =electric-operator-mode=
to add spaces around operators for compatible with for instance the [[https://black.readthedocs.io/en/stable/][Black code
formatter for Python]].
to add spaces around operators for compatibility with for instance the [[https://black.readthedocs.io/en/stable/][Black
code formatter for Python]].
#+caption[Configure =electric-operator-mode=]:
#+caption: Configure =electric-operator-mode=.