help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lisp error when using M-x


From: wael-zwaiter
Subject: Re: Lisp error when using M-x
Date: Sun, 10 Jan 2021 21:42:02 +0100

The problem occurs with ivy as follows.  How is best to have the keybindings?

  (require 'ivy)
  (ivy-mode 1)
  (setq ivy-use-virtual-buffers t)
  (setq ivy-count-format "(%d/%d) ")

  (global-set-key (kbd "C-s") 'swiper-isearch)
  (global-set-key (kbd "M-x") 'counsel-M-x)
  (global-set-key (kbd "C-x C-f") 'counsel-find-file)
  (global-set-key (kbd "M-y") 'counsel-yank-pop)
  (global-set-key (kbd "<f1> f") 'counsel-describe-function)
  (global-set-key (kbd "<f1> v") 'counsel-describe-variable)
  (global-set-key (kbd "<f1> l") 'counsel-find-library)
  (global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol)
  (global-set-key (kbd "<f2> u") 'counsel-unicode-char)
  (global-set-key (kbd "<f2> j") 'counsel-set-variable)
  (global-set-key (kbd "C-x b") 'ivy-switch-buffer)
  (global-set-key (kbd "C-c v") 'ivy-push-view)
  (global-set-key (kbd "C-c V") 'ivy-pop-view)  )



> Sent: Monday, January 11, 2021 at 8:38 AM
> From: wael-zwaiter@gmx.com
> To: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Lisp error when using M-x
>
> Am getting a problem when hitting M-x, with the following error.
>
> Debugger entered--Lisp error: (wrong-type-argument commandp counsel-M-x)
>   call-interactively(counsel-M-x nil nil)
>   command-execute(counsel-M-x)
>
>
>
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]