reddit / emacs

Widen a specific buffer without visiting it?

thiscarhasfourtires · 2022-04-10 22:43
Is it possible for me to have a function that widens a specific file buffer (as long as it exists) without actually visiting it? Thanks!
7890yuiop · 2022-04-10 23:18
Yes, you just wrap the code in `(with-current-buffer BUFFER ...)`