mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 12:21:20 +00:00
ivy-completing-read for this
This commit is contained in:
parent
53a6dc313d
commit
3b6e9e41b0
1 changed files with 1 additions and 2 deletions
|
|
@ -160,7 +160,7 @@
|
|||
(setf (alist-get category db)
|
||||
(point-marker))
|
||||
nil)
|
||||
(let* ((category-name (completing-read "Category? " (sort (mapcar #'car db) #'ivy-string<)))
|
||||
(let* ((category-name (ivy-completing-read "Category? " (sort (mapcar #'car db) #'ivy-string<)))
|
||||
(category (intern category-name))
|
||||
(entry (assoc category db)))
|
||||
(unless entry ;; New category!
|
||||
|
|
@ -170,7 +170,6 @@
|
|||
(when-let (location (alist-get category db))
|
||||
(op/refile-to-point (buffer-file-name) location)))))))
|
||||
|
||||
|
||||
(use-exwm
|
||||
:config
|
||||
(require 'fireorg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue