Skip to content

Commit

Permalink
Thu 15 Apr 2021 09:22:03
Browse files Browse the repository at this point in the history
  • Loading branch information
mullikine committed Apr 14, 2021
1 parent fe8d624 commit 4fd9215
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pen-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
(defun pen-preceding-text ()
(str (buffer-substring (point) (max 1 (- (point) 1000)))))

(defun pen-surrounding-text ()
(defun pen-surrounding-text (&optional window-line-size)
(if (not window-line-size)
(setq window-line-size 20))
(str (buffer-substring (point) (max 1 (- (point) 1000)))))


Expand Down

0 comments on commit 4fd9215

Please sign in to comment.