summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/compat.el
diff options
context:
space:
mode:
authorF. Jason Park <jp@neverwas.me>2025-03-10 19:02:48 -0700
committerF. Jason Park <jp@neverwas.me>2025-03-11 18:28:38 -0700
commit3db65ff5cb3d6f58b83052760b4ce04eb77db1bc (patch)
tree79b9103447914a44968ed56ab6ddd98d9d79c475 /lisp/emacs-lisp/compat.el
parent261205dbb57f77e3426df9f27fcc5429aae48c05 (diff)
downloademacs-3db65ff5cb3d6f58b83052760b4ce04eb77db1bc.tar.gz
emacs-3db65ff5cb3d6f58b83052760b4ce04eb77db1bc.tar.bz2
emacs-3db65ff5cb3d6f58b83052760b4ce04eb77db1bc.zip
Suppress log module when inserting date stamps in ERC
* lisp/erc/erc-log.el (erc-truncate-buffer-on-save): Use `make-obsolete-variable' because `erc-truncate-buffer-on-save' is an option, not a function. Already mentioned in etc/ERC-NEWS. (erc-logging-enabled): Return nil if `log' appears in the `erc--skip' msg prop. * lisp/erc/erc-stamp.el (erc-stamp--defer-date-insertion-on-post-modify): Add `log' to `erc--skip' msg prop. This tells the log module to defer advancing the `erc-last-saved-position' marker until after stamps have been inserted, thus ensuring they're included in logs when `erc-log-write-after-insert' is non-nil. * test/lisp/erc/erc-scenarios-log.el (erc-scenarios-log--save-buffer-in-logs/truncate-on-save): Suppress warning for `erc-truncate-buffer-on-save'. (erc-scenarios-log--write-after-insert): New test. (Bug#76875)
Diffstat (limited to 'lisp/emacs-lisp/compat.el')
0 files changed, 0 insertions, 0 deletions