Skip to content

Commit

Permalink
Thu 15 Apr 2021 09:42:06
Browse files Browse the repository at this point in the history
  • Loading branch information
mullikine committed Apr 14, 2021
1 parent 62aa504 commit 9c90f48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pen-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
(defun pen-preceding-text ()
(str (buffer-substring (point) (max 1 (- (point) 1000)))))


;; TODO Figure out how to get the previous line start of line points
;; (tv (save-excursion (ntimes 5 (call-interactively 'previous-line)) (message (str (point)))))


(defun pen-surrounding-text (&optional window-line-size)
(if (not window-line-size)
(setq window-line-size 20))
Expand Down

0 comments on commit 9c90f48

Please sign in to comment.