Backwards compatibility: check for possibly undefined variables in org-find-invisible...
commit9a7117434856d48aabd388eb64a8d3f8e804c012
authorAchim Gratz <Stromeko@Stromeko.DE>
Wed, 19 Dec 2012 10:04:22 +0000 (19 11:04 +0100)
committerAchim Gratz <Stromeko@Stromeko.DE>
Wed, 19 Dec 2012 10:04:22 +0000 (19 11:04 +0100)
treeb1d8f7d9053e2885f701e5fac8a3ab83c5bb809b
parentdb28a7a0abc271abecca29878e629d93703493c9
Backwards compatibility: check for possibly undefined variables in org-find-invisible-foreground

* lisp/org.el (org-find-invisible-foreground): Do not use the value of
  variables `default-frame-alist´, `initial-frame-alist´ and
  `window-system-default-frame-alist´ when their symbol is not bound.

This avoids an error with Emacs 22, which does not define
`window-system-default-frame-alist´, that prevents the test suite from
even starting, the other variables are treated the same as a defensive
measure.
lisp/org.el