Ver código fonte

Update counsel-describe-symbol

master
10sr 4 anos atrás
pai
commit
ddc42514fc
Acessado por: 10sr ID da chave GPG: 7BEC428194130EB2
1 arquivos alterados com 5 adições e 5 exclusões
  1. +5
    -5
      emacs.el

+ 5
- 5
emacs.el Ver arquivo

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