# HG changeset patch # User Chong Yidong # Date 1209426515 0 # Node ID 245b6ba7c339deafcb2b2d1fd32eef6bf4e6d317 # Parent da5141d2e8fca6d6acf07771592e00ed03df4924 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW argument to get-char-property, in case the current buffer hasn't been assigned to that window yet. (doc-view-display): Default to selected window if the current buffer hasn't been assigned to a window yet. diff -r da5141d2e8fc -r 245b6ba7c339 lisp/ChangeLog --- a/lisp/ChangeLog Mon Apr 28 23:24:24 2008 +0000 +++ b/lisp/ChangeLog Mon Apr 28 23:48:35 2008 +0000 @@ -1,3 +1,11 @@ +2008-04-28 Chong Yidong + + * doc-view.el (doc-view-new-window-function): Avoid using WINDOW + argument to get-char-property, in case the current buffer hasn't + been assigned to that window yet. + (doc-view-display): Default to selected window if the current + buffer hasn't been assigned to a window yet. + 2008-04-28 Vinicius Jose Latorre * whitespace.el (whitespace-trailing-regexp): Fix docstring.