Compare commits

...

2 Commits

Author SHA1 Message Date
b4fd5335b1 Tweak `smartparens' setup 2024-02-12 09:45:17 +01:00
f9a0261546 Comply with `writegood-mode' 2024-02-12 09:44:40 +01:00

View File

@ -6766,7 +6766,6 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][
(add-hook symbol #'smartparens-mode))
(dolist (symbol '(emacs-lisp-mode-hook
geiser-repl-startup-hook
go-ts-mode-hook
ielm-mode-hook
lisp-data-mode-hook
@ -6783,7 +6782,7 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][
("* ||\n[i]" "RET"))))
;; Go has no sexp suffices. This fixes slurping:
;; (|foo).bar -> (foo.bar)
(add-to-list 'sp-sexp-suffix (list #'go-mode 'regexp "")))
(add-to-list 'sp-sexp-suffix (list #'go-ts-mode 'regexp "")))
;; https://xenodium.com/emacs-smartparens-auto-indent/index.html
(defun indent-between-pair (&rest _ignored)
@ -7323,10 +7322,10 @@ application/pdf; emacsclient %s
zoomable display and with a list of multiple preconfigured tile servers.
Listing [[lst:ensure-osm-installation]] ensures the installation of ~osm~ and
listing [[lst:using-osm-example]] is a minimal example of how to use ~osm~. Inside
~osm-mode~ buffers, the command src_emacs-lisp{(osm-bookmark-set)} is bound to
{{{kbd(C-x r b)}}} allowing to bookmark such buffers. Outside ~osm-mode~
buffers, the command src_emacs-lisp{(call-interactively 'consult-bookmark)} is
bound to {{{kbd(C-x r b)}}}.
~osm-mode~ buffers, the key binding for the command
src_emacs-lisp{(osm-bookmark-set)} is {{{kbd(C-x r b)}}} allowing to bookmark
such buffers. Outside ~osm-mode~ buffers, the key binding for the command
src_emacs-lisp{(call-interactively 'consult-bookmark)} is {{{kbd(C-x r b)}}}.
#+caption[Ensure "osm" installation]:
#+caption: Ensure ~osm~ installation.