I've read in my textbook that a set $A$ is called closed if it contains its limit points, i.e. $A'\subseteq A$. But then, coming to next chapter, I came across a term of set $B$, closed in metric space $\mathfrak M$ (or in its set? this was not quite clear in the book).
I'm not sure how I should understand it. After some thinking it seems that the first definition of a "just closed" set without any reference to where it is closed implied some set which would contain the limit points we're interested in. From this, $B$ is closed in $\mathfrak M$ would mean that
$$( x\in\mathfrak M)\wedge(x\in B')\implies x\in B.$$
Thus, the set $B$ may be closed in $\mathfrak M$, but not closed in $\mathfrak N$, e.g. for the case $B=\mathbb R\setminus\mathbb N$, $\mathfrak M=\mathbb R\setminus\mathbb N$, $\mathfrak N=\mathbb Q$, where $\mathfrak M$ and $\mathfrak N$ have the standard metric $\rho(x,y)=|x-y|$.
Is my understanding right?