refactor: elisp indentation

This commit is contained in:
Flinner 2022-03-07 21:13:57 +03:00
parent e82e20ec1a
commit f2ca3191af
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 6 additions and 5 deletions

View File

@ -1963,11 +1963,12 @@ From: https://old.reddit.com/r/emacs/comments/hbdlv8/elfeed_mpv_youtube/fv9yhb2/
I wrote that, neat isn't it? :P I wrote that, neat isn't it? :P
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun my/elfeed/toggle-read () (defun my/elfeed/toggle-read ()
(interactive) (interactive)
(elfeed-search-set-filter (if (s-contains? "+unread" elfeed-search-filter) (elfeed-search-set-filter
(s-replace-regexp " ?\\+unread" "" elfeed-search-filter) (if (s-contains? "+unread" elfeed-search-filter)
(concat elfeed-search-filter " +unread")))) (s-replace-regexp " ?\\+unread" "" elfeed-search-filter)
(concat elfeed-search-filter " +unread"))))
#+end_src #+end_src
** Visual and binds ** Visual and binds