summaryrefslogtreecommitdiff
path: root/doc/lispintro/lambda-3.eps
diff options
context:
space:
mode:
authorOlivier Certner <olce.emacs@certner.fr>2021-07-06 12:35:43 +0200
committerAmin Bandali <bandali@gnu.org>2021-08-06 00:26:01 -0400
commitb77f6af24e9193a4f70622cda6d641c58e885c22 (patch)
treed7bb31cb3b08bca9f77532c7e20455decb0744ce /doc/lispintro/lambda-3.eps
parent75ecce4323e8072a2d91a882d0368af9cdfd9df7 (diff)
downloademacs-b77f6af24e9193a4f70622cda6d641c58e885c22.tar.gz
emacs-b77f6af24e9193a4f70622cda6d641c58e885c22.tar.bz2
emacs-b77f6af24e9193a4f70622cda6d641c58e885c22.zip
ERC right stamps: also use latest buffer's window's width (Bug#44140)
* lisp/erc/erc-stamp.el (erc-insert-timestamp-right): Use latest buffer's window's width to position the timestamp, if both `erc-timestamp-right-column' and `erc-fill-column' are not set (or `erc-fill-mode' is off). This is what the documentation says, but was not implemented. Also fix the bug of using selected window's width instead of the (or some) window showing the buffer. The latest window's width is saved in `erc-timestamp-last-window-width' and used when the buffer is no more shown. In case the buffer was never shown, which I'm not sure can happen, either use `fill-column' if set, or give up on aligning and just output the timestamp (modulo the kludge) right after message text. While here, fix the off by one calculation of point start when the reference is the window's width.
Diffstat (limited to 'doc/lispintro/lambda-3.eps')
0 files changed, 0 insertions, 0 deletions