diff options
| author | Karl Heuer | 1995-01-20 03:20:35 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-01-20 03:20:35 +0000 |
| commit | 389817fd6c176249396d248818bbb1e7591e02d3 (patch) | |
| tree | 518182bd4901a18d442dd81075a37fe5d4da9d00 | |
| parent | 4fb6f90f18418df8c1ae8be77df123ca4fad7db2 (diff) | |
| download | emacs-389817fd6c176249396d248818bbb1e7591e02d3.tar.gz emacs-389817fd6c176249396d248818bbb1e7591e02d3.zip | |
(set-c-style): Ignore case in completion.
| -rw-r--r-- | lisp/progmodes/c-mode.el | 5 |
1 files 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 | |||
| 1357 | and a flag which, if non-nil, means to set the style globally. | 1357 | and a flag which, if non-nil, means to set the style globally. |
| 1358 | \(Interactively, the flag comes from the prefix argument.) | 1358 | \(Interactively, the flag comes from the prefix argument.) |
| 1359 | Available styles are GNU, K&R, BSD and Whitesmith." | 1359 | Available styles are GNU, K&R, BSD and Whitesmith." |
| 1360 | (interactive (list (completing-read "Use which C indentation style? " | 1360 | (interactive (list (let ((completion-ignore-case t)) |
| 1361 | c-style-alist nil t) | 1361 | (completing-read "Use which C indentation style? " |
| 1362 | c-style-alist nil t)) | ||
| 1362 | current-prefix-arg)) | 1363 | current-prefix-arg)) |
| 1363 | (let ((vars (cdr (assoc style c-style-alist)))) | 1364 | (let ((vars (cdr (assoc style c-style-alist)))) |
| 1364 | (or vars | 1365 | (or vars |