using buffer-live-p (#256).
This commit is contained in:
parent
94c4ae205d
commit
2d8faed072
@ -209,7 +209,7 @@
|
||||
|
||||
(defmacro ghc-with-current-buffer (buf &rest body)
|
||||
;; (declare (indent 1))
|
||||
`(if (get-buffer ,buf)
|
||||
`(if (buffer-live-p ,buf)
|
||||
(with-current-buffer ,buf
|
||||
,@body)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user