diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-04-19 15:44:55 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-04-19 15:44:55 +0200 |
commit | 06b605171f1c9d8b42bd3326a243b8b03d2e4e58 (patch) | |
tree | e96c135042999136bf0e75d113aae306e51983e3 /lisp/longlines.el | |
parent | 04c569546ad52f6270d8fc6d4aa0750950a0ac05 (diff) | |
download | emacs-06b605171f1c9d8b42bd3326a243b8b03d2e4e58.tar.gz |
lisp/*.el: Lexical-binding cleanup.
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." |