From: Richard S. <rm...@gn...> - 2001-06-23 17:45:25
|
I changed the Lisp manual and doc string of completing-read to deprecate use of the INITIAL argument. This is an intrusive interface, and now that we have history lists, we should in general use them instead. I also changed c-set-style not to use this feature any more. Instead, it uses an ordinary default. Here is the patch I installed. *** cc-styles.el.~1.21.~ Thu Mar 22 22:23:53 2001 --- cc-styles.el Sat Jun 23 12:01:09 2001 *************** *** 302,309 **** (prompt (format "Which %s indentation style? " mode-name))) (completing-read prompt c-style-alist nil t ! (cons c-indentation-style 0) ! 'c-set-style-history)))) (c-initialize-builtin-style) (let ((vars (c-get-style-variables stylename nil))) (mapcar (lambda (elem) --- 302,310 ---- (prompt (format "Which %s indentation style? " mode-name))) (completing-read prompt c-style-alist nil t ! nil ! 'c-set-style-history ! c-indentation-style)))) (c-initialize-builtin-style) (let ((vars (c-get-style-variables stylename nil))) (mapcar (lambda (elem) |