瀏覽代碼

Fix counsel load

master
10sr 4 年之前
父節點
當前提交
202fd68d53
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      emacs.el

+ 4
- 4
emacs.el 查看文件

@@ -2900,13 +2900,13 @@ Any output will be written to current buffer."
;; (my-ivy-length "a" (cons "c" t))

(declare-function ivy-configure "ivy")
(with-eval-after-load 'ivy
(with-eval-after-load 'counsel ;; Hook to counsel, not ivy
;; (ivy-configure 'my-counsel-describe-symbol
;; :sort-fn 'my-ivy-length)
(ivy-configure 'counsel-M-x
:initial-input ""
;; :sort-fn 'my-ivy-length
)
:initial-input ""
;; :sort-fn 'my-ivy-length
)
(defvar ivy-sort-matches-functions-alist)
(add-to-list 'ivy-sort-matches-functions-alist
'(my-counsel-describe-symbol . ivy--shorter-matches-first))


Loading…
取消
儲存