Mercurial > emacs
diff lisp/subr.el @ 105763:5041ae86859e
(all-completions): Declare the 4th arg obsolete.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 26 Oct 2009 03:39:15 +0000 |
parents | fac384c9a868 |
children | a0f778f4a995 |
line wrap: on
line diff
--- a/lisp/subr.el Sun Oct 25 20:38:06 2009 +0000 +++ b/lisp/subr.el Mon Oct 26 03:39:15 2009 +0000 @@ -1038,6 +1038,8 @@ "explicitly check for a frame-parameter instead." "22.2") (make-obsolete 'interactive-p 'called-interactively-p "23.2") (set-advertised-calling-convention 'called-interactively-p '(kind)) +(set-advertised-calling-convention + 'all-completions '(string collection &optional predicate)) ;;;; Obsolescence declarations for variables, and aliases. @@ -1885,11 +1887,13 @@ ;; Turn a meta-character into a character with the 0200 bit set. (setq code (logior (logand translated (lognot ?\M-\^@)) 128) done t)) - ((and (<= ?0 translated) (< translated (+ ?0 (min 10 read-quoted-char-radix)))) + ((and (<= ?0 translated) + (< translated (+ ?0 (min 10 read-quoted-char-radix)))) (setq code (+ (* code read-quoted-char-radix) (- translated ?0))) (and prompt (setq prompt (message "%s %c" prompt translated)))) ((and (<= ?a (downcase translated)) - (< (downcase translated) (+ ?a -10 (min 36 read-quoted-char-radix)))) + (< (downcase translated) + (+ ?a -10 (min 36 read-quoted-char-radix)))) (setq code (+ (* code read-quoted-char-radix) (+ 10 (- (downcase translated) ?a)))) (and prompt (setq prompt (message "%s %c" prompt translated))))