mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-28 09:41:37 -07:00
Fix wrong type argument error in 'find-file-read-only-other-tab' (Bug#80630)
* lisp/tab-bar.el (find-file-read-only-other-tab): Pass the function 'find-file-other-tab' directly to 'find-file--read-only' (Bug#80630). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
a7d0520721
commit
8dcbf4fafc
1 changed files with 1 additions and 4 deletions
|
|
@ -3137,10 +3137,7 @@ files will be visited."
|
|||
(interactive
|
||||
(find-file-read-args "Find file read-only in other tab: "
|
||||
(confirm-nonexistent-file-or-buffer)))
|
||||
(find-file--read-only (lambda (filename wildcards)
|
||||
(window-buffer
|
||||
(find-file-other-tab filename wildcards)))
|
||||
filename wildcards))
|
||||
(find-file--read-only #'find-file-other-tab filename wildcards))
|
||||
|
||||
(defun other-tab-prefix ()
|
||||
"Display the buffer of the next command in a new tab.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue