emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A primer on how to fix up `display-buffer' warnings?


From: Lars Magne Ingebrigtsen
Subject: A primer on how to fix up `display-buffer' warnings?
Date: Thu, 30 Jun 2011 00:22:03 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

It's sometimes difficult to find compilation errors (in sendmail.el this
time) because of reams of new warnings like this:

In mail-other-frame:
sendmail.el:1976:10:Warning: `same-window-regexps' is an obsolete variable (as
    of Emacs 24.1); use 2nd arg of `display-buffer' instead.
sendmail.el:1975:10:Warning: `same-window-buffer-names' is an obsolete
    variable (as of Emacs 24.1); use 2nd arg of `display-buffer' instead.
sendmail.el:1974:10:Warning: `special-display-regexps' is an obsolete variable
    (as of Emacs 24.1); use 2nd arg of `display-buffer' instead.
sendmail.el:1973:10:Warning: `special-display-buffer-names' is an obsolete
    variable (as of Emacs 24.1); use 2nd arg of `display-buffer' instead.
sendmail.el:1972:10:Warning: `pop-up-frames' is an obsolete variable (as of
    Emacs 24.1); use 2nd arg of `display-buffer' instead.

Does anybody have a quick primer on how one is supposed to transform all
these let bindings into the parameter(s) that `display-buffer' expects
now?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]