HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Window-related stuff cleanup here and there.
[bpt/emacs.git]
/
src
/
fringe.c
diff --git
a/src/fringe.c
b/src/fringe.c
index
d788503
..
a126292
100644
(file)
--- a/
src/fringe.c
+++ b/
src/fringe.c
@@
-1731,10
+1731,8
@@
Return nil if POS is not visible in WINDOW. */)
struct glyph_row *row;
ptrdiff_t textpos;
- if (NILP (window))
- window = selected_window;
- CHECK_WINDOW (window);
- w = XWINDOW (window);
+ w = decode_any_window (window);
+ XSETWINDOW (window, w);
if (!NILP (pos))
{