File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1123,6 +1123,7 @@ switch."
1123
1123
(let ((dedicated-flag (window-dedicated-p )))
1124
1124
(when dedicated-flag
1125
1125
(set-window-dedicated-p nil nil ))
1126
+ (set-buffer new-buffer)
1126
1127
(set-window-buffer nil new-buffer 'keep-margins )
1127
1128
(when dedicated-flag
1128
1129
(set-window-dedicated-p nil dedicated-flag)))
@@ -1138,10 +1139,9 @@ switch."
1138
1139
1139
1140
(setq pm/current t )
1140
1141
1141
- ; ; fixme: what is the right way to do this ... activate -mark-hook?
1142
+ ( set -mark mkt)
1142
1143
(if (not ractive)
1143
1144
(deactivate-mark )
1144
- (set-mark mkt)
1145
1145
(activate-mark ))
1146
1146
1147
1147
(when pm-hide-implementation-buffers
Original file line number Diff line number Diff line change @@ -244,6 +244,11 @@ Return the number of chunks of the same type moved over."
244
244
(pm-span-to-range span)
245
245
(pm-chunk-range (1- (nth 1 span))))))))
246
246
247
+ (defun polymode-kill-ring-save ()
248
+ " Copy current chunk into the kill-ring."
249
+ (interactive )
250
+ )
251
+
247
252
(defun polymode-mark-or-extend-chunk ()
248
253
" DWIM command to repeatedly mark chunk or extend region.
249
254
When no region is active, mark the current span if in body of a
You can’t perform that action at this time.
0 commit comments