Pārlūkot izejas kodu

Don't quote symbol which is declared to be obsolete as a function

Quoting the obsolete function using `function' inside the form that
declares that it is an obsolete function, is considered by the byte
compiler to be the first obsolete use of that function.

Just quote the symbol using ' instead of #', otherwise the byte
compiler would issue a warning.
Jonas Bernoulli 10 gadi atpakaļ
vecāks
revīzija
d68d1016bc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      ido-ubiquitous.el

+ 1 - 1
ido-ubiquitous.el

@@ -586,7 +586,7 @@ completion for them."
       (ido-ubiquitous-fallback
        (ido-ubiquitous--explain-fallback sig)
        (apply ido-cr+-fallback-function orig-args)))))
-(define-obsolete-function-alias #'completing-read-ido #'completing-read-ido-ubiquitous
+(define-obsolete-function-alias 'completing-read-ido #'completing-read-ido-ubiquitous
   "ido-ubiquitous 3.0")
 
 ;;; Old-style default support