Mercurial > emacs
view nt/inc/nl_types.h @ 107461:7cf379c501e1
Add a new completion style `substring'.
* minibuffer.el (completion-basic--pattern): New function.
(completion-basic-try-completion, completion-basic-all-completions): Use it.
(completion-substring--all-completions)
(completion-substring-try-completion)
(completion-substring-all-completions): New functions.
(completion-styles-alist): New style `substring'.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 22 Mar 2010 20:59:49 -0400 |
parents | aeceb2460b39 |
children | 376148b31b5e |
line wrap: on
line source
/* Replacement nl_types.h file for building GNU Emacs on Windows. Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #ifndef _NL_TYPES_H #define _NL_TYPES_H typedef int nl_item; #endif /* _NL_TYPES_H */ /* arch-tag: 518aa765-b846-4a7a-a862-95fd022928a1 (do not change this comment) */