mirror of
https://codeberg.org/scip/mark-copy-yank-things-mode.git
synced 2025-12-16 20:10:58 +01:00
Merge branch 'master' of github.com:TLINDEN/mark-copy-yank-things-mode
This commit is contained in:
@@ -316,8 +316,9 @@ of widest comment line."
|
|||||||
(while (looking-at "[0-9\.\/]")
|
(while (looking-at "[0-9\.\/]")
|
||||||
(forward-char 1)))
|
(forward-char 1)))
|
||||||
|
|
||||||
;; We use these for word finding, since the built-in
|
;; We use these for word finding, since the built-in word functions do
|
||||||
;; word functions do not include -_. which is annoying
|
;; not include -_. which is annoying, that is we (re-)define word here
|
||||||
|
;; independent of syntax table
|
||||||
(defun mcyt-beginning-of-symbol (&optional arg)
|
(defun mcyt-beginning-of-symbol (&optional arg)
|
||||||
(interactive)
|
(interactive)
|
||||||
(backward-word)
|
(backward-word)
|
||||||
@@ -479,7 +480,7 @@ Also supports normal one- or multiline comments, indended or not.
|
|||||||
|
|
||||||
(defun mcyt-copy-buffer(&optional arg)
|
(defun mcyt-copy-buffer(&optional arg)
|
||||||
"Copy the whole buffer into kill-ring, as-is"
|
"Copy the whole buffer into kill-ring, as-is"
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(mcyt--blink (point-min) (point-max))
|
(mcyt--blink (point-min) (point-max))
|
||||||
(copy-region-as-kill (point-min) (point-max))
|
(copy-region-as-kill (point-min) (point-max))
|
||||||
(message "buffer copied"))
|
(message "buffer copied"))
|
||||||
|
|||||||
Reference in New Issue
Block a user