From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: 23.0.60; Error on zero length completion
Date: Mon, 28 Apr 2008 09:58:29 -0400 [thread overview]
Message-ID: <jwvve22gk00.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <874p9ozq0r.fsf@localhorst.mine.nu> (David Hansen's message of "Sat, 26 Apr 2008 15:47:48 +0200")
>> Indeed, thank you,
> emacs -Q M-x <SPC>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
I believe I've fixed this one now,
Stefan
Index: minibuffer.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/minibuffer.el,v
retrieving revision 1.29
diff -u -u -b -r1.29 minibuffer.el
--- minibuffer.el 26 Apr 2008 12:58:13 -0000 1.29
+++ minibuffer.el 28 Apr 2008 13:56:28 -0000
@@ -1131,7 +1131,7 @@
(regex (completion-pcm--pattern->regex pattern))
(completion-regexp-list (cons regex completion-regexp-list))
(compl (all-completions
- (if (stringp (car pattern)) (car pattern))
+ (if (stringp (car pattern)) (car pattern) "")
table pred))
(last (last compl)))
;; FIXME: If `base-size' is not 0, we have a problem :-(
prev parent reply other threads:[~2008-04-28 13:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-25 23:40 23.0.60; Error on zero length completion David Hansen
2008-04-26 1:31 ` Stefan Monnier
2008-04-26 13:47 ` David Hansen
2008-04-28 13:58 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvve22gk00.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).