Remove the loccur package

This commit is contained in:
Gergely Polonkai 2023-10-23 06:45:50 +02:00
parent b0879b8b91
commit 984f2146e2
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -2069,25 +2069,6 @@ And apply it to dired, too.
("SPC" . ace-jump-mode))) ("SPC" . ace-jump-mode)))
#+END_SRC #+END_SRC
** occur-like folding in the current buffer
#+BEGIN_SRC emacs-lisp
(defun gpolonkai/toggle-loccur ()
"Toggle `loccur-mode'.
If `loccur-mode' is not active, starts it (which, in turn, will ask for the
pattern to look for). If it is active, it will disable it."
(interactive)
(if loccur-mode
(loccur-mode nil)
(call-interactively 'loccur)))
(use-package loccur
:bind
(:map gpolonkai/pers-map
("C-o" . gpolonkai/toggle-loccur)))
#+END_SRC
** Help merging ~pacsave~ and ~pacnew~ files ** Help merging ~pacsave~ and ~pacnew~ files
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp