bug#81636: Fix switch-to-buffer-other-*
Juri Linkov <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Organization | LINKOV.NET |
| Message-ID | <[email protected]> |
>> Yes, I replaced it with the new argument 'interactive'.
>> These changes are intended only for interactive use
>> of *-other-* commands.
>
> But the doc-string of 'interactive' warns against such use.
> Or do I misunderstand it?
No, there is no such warning. Contrary to this,
the docstring of 'called-interactively-p' suggests:
Instead of using this function, it is cleaner and more reliable to
give your function an extra optional argument whose interactive spec
specifies non-nil unconditionally ("p" is a good way to do this), or
via (not (or executing-kbd-macro noninteractive)).