[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23536: 25.1.50; viper-mode "/" search includes "(default ...) " pref
From: |
Eli Zaretskii |
Subject: |
bug#23536: 25.1.50; viper-mode "/" search includes "(default ...) " prefix |
Date: |
Sat, 14 May 2016 20:41:06 +0300 |
> From: Jim Meyering <jim@meyering.net>
> Date: Sat, 14 May 2016 08:51:24 -0700
> Cc: 23536-done@debbugs.gnu.org
>
> > Please see if the patch below fixes the problem, and doesn't bring new
> > ones. (I don't use viper-mode, and we don't have a test suite for it,
> > so I couldn't easily test the result beyond your simple recipe.)
> >
> > Thanks.
> >
> > diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
> > index da72b97..6951dbb 100644
> > --- a/lisp/emulation/viper-cmd.el
> > +++ b/lisp/emulation/viper-cmd.el
> > @@ -2127,6 +2127,7 @@ viper-read-string-with-history
> >
> > (setq keymap (or keymap minibuffer-local-map)
> > initial (or initial "")
> > + viper-initial initial
>
> Thank you. That does indeed solve the problem.
> I'm closing this for now and will reopen if I notice anything untoward.
Thanks, I pushed this to the master branch.