mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from origin/emacs-29
ecb80e0e8a; Improve wording in documentation of 'not and 'null'5971aa1fd3* lisp/dnd.el (dnd-handle-movement): Avoid errors (bug#70...bbc5204a0f* doc/misc/calc.texi: Improve indexing.
This commit is contained in:
commit
9ea415cde3
4 changed files with 17 additions and 8 deletions
|
|
@ -151,8 +151,13 @@ Windows."
|
|||
(with-selected-window window
|
||||
(scroll-down 1))))))))
|
||||
(when dnd-indicate-insertion-point
|
||||
(ignore-errors
|
||||
(goto-char (posn-point posn)))))))
|
||||
(let ((pos (posn-point posn)))
|
||||
;; We avoid errors here, since on some systems this runs
|
||||
;; when waiting_for_input is non-zero, and that aborts on
|
||||
;; error.
|
||||
(if (and pos (<= (point-min) pos (point-max)))
|
||||
(goto-char pos)
|
||||
pos))))))
|
||||
|
||||
(defun dnd-handle-one-url (window action url)
|
||||
"Handle one dropped url by calling the appropriate handler.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue