From 389817fd6c176249396d248818bbb1e7591e02d3 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 20 Jan 1995 03:20:35 +0000 Subject: [PATCH] (set-c-style): Ignore case in completion. --- lisp/progmodes/c-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 2529106e7b1..c59efbfd821 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el @@ -1357,8 +1357,9 @@ The arguments are a string representing the desired style and a flag which, if non-nil, means to set the style globally. \(Interactively, the flag comes from the prefix argument.) Available styles are GNU, K&R, BSD and Whitesmith." - (interactive (list (completing-read "Use which C indentation style? " - c-style-alist nil t) + (interactive (list (let ((completion-ignore-case t)) + (completing-read "Use which C indentation style? " + c-style-alist nil t)) current-prefix-arg)) (let ((vars (cdr (assoc style c-style-alist)))) (or vars -- 2.11.4.GIT