Silence various byte-compiler warnings.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 1 Jun 2011 19:32:04 +0000 (16:32 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 1 Jun 2011 19:32:04 +0000 (16:32 -0300)
commit2403c841a8e920fa7e517997ecb5addcca2ecfe7
tree4dccd3734a7be1b965df14491b7002260e1876dc
parent3b7d5980c94cdf3188b2a5bb002e00d887312957
Silence various byte-compiler warnings.
* lisp/emacs-lisp/byte-run.el (make-obsolete-variable): New argument
`access-type' and new obsolescence format.
* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
new format.
(byte-compile-check-variable): New `access-type' argument.
Only warn if the access-type is obsolete.
(byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
(byte-compile-variable-set): Adjust callers.
* lisp/help-fns.el (describe-variable): Adjust to new obsolescence format.
* lisp/mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
setting it as obsolete.
* lisp/simple.el (minibuffer-completing-symbol):
* lisp/font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
access as obsolete.
* lisp/minibuffer.el (minibuffer-completing-file-name): Don't make it
obsolete yet.
* lisp/international/quail.el (quail-mouse-choose-completion): Remove unused
code referring to obsolete var.
(quail-choose-completion-string): Remove.
* lisp/server.el (server-clients-with, server-kill-buffer-query-function)
(server-kill-emacs-query-function): Silence "unused `proc'" warnings.
* lisp/proced.el (proced-send-signal):
* lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
Replace completion-annotate-function with completion-extra-properties.
12 files changed:
lisp/ChangeLog
lisp/emacs-lisp/byte-run.el
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/lisp.el
lisp/font-lock.el
lisp/help-fns.el
lisp/international/quail.el
lisp/mail/sendmail.el
lisp/minibuffer.el
lisp/proced.el
lisp/server.el
lisp/simple.el