2 replaced http://emacs.stackexchange.com/ with https://emacs.stackexchange.com/
source | link

this question is related to the question http://emacs.stackexchange.com/questions/2959/How to know my buffer's visible/focused status?.

I would like to check if there exists a frame in which a given buffer is visible. I tried the following but it gives true even if scratch is invisible.

(get-buffer-window (find-buffer-visiting "*scratch*") 'visible)

this question is related to the question http://emacs.stackexchange.com/questions/2959/.

I would like to check if there exists a frame in which a given buffer is visible. I tried the following but it gives true even if scratch is invisible.

(get-buffer-window (find-buffer-visiting "*scratch*") 'visible)

this question is related to the question How to know my buffer's visible/focused status?.

I would like to check if there exists a frame in which a given buffer is visible. I tried the following but it gives true even if scratch is invisible.

(get-buffer-window (find-buffer-visiting "*scratch*") 'visible)
1
source | link

How to check if there exists a frame in which a given buffer is visible

this question is related to the question http://emacs.stackexchange.com/questions/2959/.

I would like to check if there exists a frame in which a given buffer is visible. I tried the following but it gives true even if scratch is invisible.

(get-buffer-window (find-buffer-visiting "*scratch*") 'visible)