[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-commit] qemacs qe.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-commit] qemacs qe.c |
Date: |
Sun, 13 Apr 2014 14:45:24 +0000 |
CVSROOT: /sources/qemacs
Module name: qemacs
Changes by: Charlie Gordon <chqrlie> 14/04/13 14:45:24
Modified files:
. : qe.c
Log message:
ignore ocaml output files
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/qe.c?cvsroot=qemacs&r1=1.164&r2=1.165
Patches:
Index: qe.c
===================================================================
RCS file: /sources/qemacs/qemacs/qe.c,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -b -r1.164 -r1.165
--- qe.c 5 Apr 2014 15:49:16 -0000 1.164
+++ qe.c 13 Apr 2014 14:45:23 -0000 1.165
@@ -2114,6 +2114,8 @@
if (c < 127 || c >= 160) {
buf_put_byte(out, ' ');
buf_put_byte(out, '\'');
+ if (c == '\\' || c == '\'')
+ buf_put_byte(out, '\\');
buf_putc_utf8(out, c);
if (c2)
buf_putc_utf8(out, c2);
@@ -4860,8 +4862,11 @@
}
}
-static const char *file_completion_ignore_extensions =
- "|bak|bin|obj|dll|exe|o|so|a|gz|tgz|bz2|bzip2|xz";
+static const char *file_completion_ignore_extensions = {
+ "|bak|bin|obj|dll|exe|o|so|a|gz|tgz|bz2|bzip2|xz"
+ "|cma|cmi|cmo|cmt|cmti|cmx"
+ "|"
+};
void file_completion(CompleteState *cp)
{
- [Qemacs-commit] qemacs qe.c,
Charlie Gordon <=