mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
Use called-interactively-p' instead of interactive-p'.
This commit is contained in:
parent
12a3c28c78
commit
32226619c5
81 changed files with 375 additions and 204 deletions
|
|
@ -533,7 +533,7 @@ BODY is executed after moving to the destination location."
|
|||
(error "No next %s" ,name))
|
||||
(goto-char (match-beginning 0))
|
||||
(when (and (eq (current-buffer) (window-buffer (selected-window)))
|
||||
(interactive-p))
|
||||
(called-interactively-p 'interactive))
|
||||
(let ((endpt (or (save-excursion
|
||||
,(if endfun `(,endfun)
|
||||
`(re-search-forward ,re nil t 2)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue