Browse Source

Fix

master
10sr 4 years ago
parent
commit
d8c25f3cab
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      emacs.el

+ 3
- 2
emacs.el View File

@@ -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…
Cancel
Save