Elsa icon indicating copy to clipboard operation
Elsa copied to clipboard

declared defvar is reported as unbound

Open Fuco1 opened this issue 2 years ago • 0 comments

(defvar my-custom-var-1
  (or
   (if (memq completing-read-function
             '(ido-completing-read+
               ido-completing-read
               completing-read-ido-ubiquitous
               completing-read-ido
               ido-ubiquitous-completing-read))
       'completing-read-default
     completing-read-function)
   'completing-read-default))

(defun myfun1 (arg) arg)

;; Elsa thinks the argument's type is Unbound
(myfun1 my-custom-var-1)

Related to #164

Fuco1 avatar Feb 14 '23 12:02 Fuco1