Oliver Scholz wrote:
Adam Hardy <emacs@cyberspaceroad.com> writes:
But I discovered this is also acting on the command buffer, so
I cannot add more than my fill column when doing simple file
copies or renames or text search & replaces.
Well, you could just check whether the current buffer is the
minibuffer:
(when (and (not (minibufferp)) (> (current-column)
fill-column)) ...)
emacs is choking on (minibufferp) - says it's a null-function. I
presume it's saying it doesn't exist? I can't find any mention of
it in the help.
It seems that this function is new in the CVS version of Emacs. I
wasn't aware of that. Sorry.
Can you emulate it like this?
(window-minibuffer-p (selected-window))