Pārlūkot izejas kodu

Correctly get the standard value of custom vars

The previous code would get the user's customized value if they ahd
customized any variable.
Ryan C. Thompson 10 gadi atpakaļ
vecāks
revīzija
70e62526f8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      test/ido-ubiquitous-test.el

+ 1 - 1
test/ido-ubiquitous-test.el

@@ -108,7 +108,7 @@ for activation and deactivation."
         (cl-loop for var in ido-ubiquitous-options collect
                  (list var
                        (list 'quote
-                             (default-value var))))))
+                             (eval (car (get var 'standard-value))))))))
     `(with-mode ido-ubiquitous-mode 1
        (let ,idu-bindings ,@body))))