diff options
Diffstat (limited to 'lisp/longlines.el')
-rw-r--r-- | lisp/longlines.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/longlines.el b/lisp/longlines.el index 8843b1663ff..387ce394f50 100644 --- a/lisp/longlines.el +++ b/lisp/longlines.el @@ -370,7 +370,7 @@ If BEG and END are nil, the point and mark are used." "Turn all newlines in the buffer into hard newlines." (longlines-decode-region (point-min) (point-max))) -(defun longlines-encode-region (beg end &optional buffer) +(defun longlines-encode-region (beg end &optional _buffer) "Replace each soft newline between BEG and END with exactly one space. Hard newlines are left intact. The optional argument BUFFER exists for compatibility with `format-alist', and is ignored." @@ -413,7 +413,7 @@ If automatic line wrapping is turned on, wrap the entire buffer." (setq longlines-auto-wrap nil) (message "Auto wrap disabled."))) -(defun longlines-after-change-function (beg end len) +(defun longlines-after-change-function (beg end _len) "Update `longlines-wrap-beg' and `longlines-wrap-end'. This is called by `after-change-functions' to keep track of the region that has changed." |