Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
99eadf4d
Kaydet (Commit)
99eadf4d
authored
Haz 23, 2000
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
(py-execute-region): Make sure the new temporary buffer is current for
the insertion of the text.
üst
d08b4c45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
python-mode.el
Misc/python-mode.el
+4
-3
No files found.
Misc/python-mode.el
Dosyayı görüntüle @
99eadf4d
...
@@ -1284,10 +1284,11 @@ is inserted at the end. See also the command `py-clear-queue'."
...
@@ -1284,10 +1284,11 @@ is inserted at the end. See also the command `py-clear-queue'."
;; Write the contents of the buffer, watching out for indented regions.
;; Write the contents of the buffer, watching out for indented regions.
(
save-excursion
(
save-excursion
(
goto-char
start
)
(
goto-char
start
)
(
when
(
/=
(
py-point
'bol
)
(
py-point
'boi
))
(
let
((
needs-if
(
/=
(
py-point
'bol
)
(
py-point
'boi
))
))
(
set-buffer
buf
)
(
set-buffer
buf
)
(
insert
"if 1:\n"
))
(
when
needs-if
(
insert-buffer-substring
cur
start
end
))
(
insert
"if 1:\n"
))
(
insert-buffer-substring
cur
start
end
)))
(
cond
(
cond
;; always run the code in its own asynchronous subprocess
;; always run the code in its own asynchronous subprocess
(
async
(
async
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment