瀏覽代碼

Fix

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

+ 3
- 2
emacs.el 查看文件

@@ -2509,12 +2509,13 @@ Any output will be written to current buffer."

(when (and (fboundp 'ivy-read)
(locate-library "counsel"))
(defvar counsel-describe-map)

(defun my-counsel-describe-symbol ()
"Forwaord to `describe-symbol'."
(interactive)
(eval-and-compile (require 'help-mode)) ;; describe-symbol-backends
(eval-and-compile (require 'counsel))
(eval-and-compile (require 'help-mode nil t)) ;; describe-symbol-backends
(eval-and-compile (require 'counsel nil t))
(ivy-read "Describe symbol: " obarray
;; From describe-symbol definition
:predicate (lambda (vv)


Loading…
取消
儲存