Ver a proveniência

Update counsel-describe-symbol

master
10sr há 4 anos
ascendente
cometimento
ddc42514fc
Assinados por: 10sr ID da chave GPG: 7BEC428194130EB2
1 ficheiros alterados com 5 adições e 5 eliminações
  1. +5
    -5
      emacs.el

+ 5
- 5
emacs.el Ver ficheiro

@@ -2513,12 +2513,12 @@ Any output will be written to current buffer."
(defun my-counsel-describe-symbol ()
"Forwaord to `describe-symbol'."
(interactive)
(eval-and-compile (require 'help-mode)) ;; describe-symbol-backends
(ivy-read "Describe symbol: " obarray
:predicate (lambda (sym)
(or (fboundp sym)
(boundp sym)
(facep sym)
(symbol-plist sym)))
;; From describe-symbol definition
:predicate (lambda (vv)
(cl-some (lambda (x) (funcall (nth 1 x) vv))
describe-symbol-backends))
:require-match t
:history 'counsel-describe-symbol-history
:keymap counsel-describe-map


Carregando…
Cancelar
Guardar