Fix midnight-mode documentation
* lisp/midnight.el (Commentary): Document that 'midnight-mode' should be enabled using the function, instead of by merely loading the library. In Emacs 31, doing the latter will no longer work. (Bug#73291)
This commit is contained in:
parent
f778252220
commit
76c6b4d279
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; midnight.el --- run something every midnight, e.g., kill old buffers -*- lexical-binding:t -*-
|
||||
|
||||
;; Copyright (C) 1998, 2001-2024 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 1998-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Sam Steingold <sds@gnu.org>
|
||||
;; Created: 1998-05-18
|
||||
|
@ -23,7 +23,7 @@
|
|||
|
||||
;;; Commentary:
|
||||
|
||||
;; To use the file, put (require 'midnight) into your .emacs. Then, at
|
||||
;; To use the file, put (midnight-mode) into your .emacs. Then, at
|
||||
;; midnight, Emacs will run the normal hook `midnight-hook'. You can
|
||||
;; put whatever you like there, say, `calendar'; by default there is
|
||||
;; only one function there - `clean-buffer-list'. It will kill the
|
||||
|
|
Loading…
Add table
Reference in a new issue