[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 79abec2: Fix for coding-system completion (bug#2367
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master 79abec2: Fix for coding-system completion (bug#23670) |
Date: |
Wed, 1 Mar 2017 16:53:18 -0500 (EST) |
branch: master
commit 79abec2feefa6169b8073cacde98a02d8087c19b
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Fix for coding-system completion (bug#23670)
* lisp/international/mule.el (read-buffer-file-coding-system):
Ensure that completion-pcm--delim-wild-regex is enclosed in parens,
so that completion-pcm--pattern->regex can append "*?".
---
lisp/international/mule.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 8754f7f..fa3ad80 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1311,8 +1311,8 @@ Internal use only.")
preferred))))))
(completion-ignore-case t)
(completion-pcm--delim-wild-regex ; Let "u8" complete to "utf-8".
- (concat completion-pcm--delim-wild-regex
- "\\|\\([[:alpha:]]\\)[[:digit:]]"))
+ (concat "\\(?:" completion-pcm--delim-wild-regex
+ "\\|\\([[:alpha:]]\\)[[:digit:]]\\)"))
(cs (completing-read
(format "Coding system for saving file (default %s): " default)
combined-table
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 79abec2: Fix for coding-system completion (bug#23670),
Glenn Morris <=