Start to explain the electric operator mode
This commit is contained in:
parent
f19fcfd025
commit
33f1d5053c
@ -1615,9 +1615,13 @@ LaTeX, Org, and Python.
|
||||
:CUSTOM_ID: sec:electric-operators
|
||||
: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]].
|
||||
|
||||
#+caption[Configure =electric-operator-mode=]:
|
||||
#+caption: Configure =electric-operator-mode=.
|
||||
#+label: lst:configure-electric-operator-mode
|
||||
#+name: lst:configure-electric-operator-mode
|
||||
#+begin_src emacs-lisp
|
||||
(when (fboundp 'electric-operator-mode)
|
||||
(add-hook 'c-mode-common #'electric-operator-mode)
|
||||
|
Loading…
Reference in New Issue
Block a user