10sr 4 lat temu
rodzic
commit
d8c25f3cab
Podpisane przez: 10sr ID klucza GPG: 7BEC428194130EB2
1 zmienionych plików z 3 dodań i 2 usunięć
  1. +3
    -2
      emacs.el

+ 3
- 2
emacs.el Wyświetl plik

@@ -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)


Ładowanie…
Anuluj
Zapisz