Explorar el Código

Let-bind ido-ubiquitous-initial-item on entry

This is necessary for nested calls to ido-ubiqbquitous to work
correctly.
Ryan C. Thompson hace 10 años
padre
commit
f0ee24495f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      ido-ubiquitous.el

+ 2 - 1
ido-ubiquitous.el

@@ -495,7 +495,8 @@ is used to determine whether to enable certain behaviors only for
 ido-ubiquitous, not for ordinary ido completion."
   ;; Set "this" and clear "next" so it doesn't apply to nested calls.
   (let* ((ido-ubiquitous-enable-this-call ido-ubiquitous-enable-next-call)
-         (ido-ubiquitous-enable-next-call nil))
+         (ido-ubiquitous-enable-next-call nil)
+         (ido-ubiquitous-initial-item nil))
     ad-do-it))
 
 ;; Signal used to trigger fallback