mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
Fix interactive mode spec of `xwidget-webkit-end-edit-textarea'
* lisp/xwidget.el (xwidget-webkit-end-edit-textarea): Remove `xwidget-webkit-mode' condition from the interactive mode spec. This command is intended to be invoked in the 'textarea' buffer, which is created by `xwidget-webkit-begin-edit-textarea', and that buffer is in Fundamental mode. (Bug#81306) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
b365ef37b9
commit
c12c91563e
|
|
@ -672,7 +672,7 @@ XW is the xwidget identifier, TEXT is retrieved from the webkit."
|
|||
|
||||
(defun xwidget-webkit-end-edit-textarea ()
|
||||
"End editing of a webkit text area."
|
||||
(interactive nil xwidget-webkit-mode)
|
||||
(interactive)
|
||||
(goto-char (point-min))
|
||||
(while (search-forward "\n" nil t)
|
||||
(replace-match "\\n" nil t))
|
||||
|
|
|
|||
Loading…
Reference in a new issue