mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
* lisp/textmodes/fill.el (adaptive-fill-function): Change default
Use 'ignore' rather than nil since they behave identically, except that 'ignore' interacts correctly with add/remove-function.
This commit is contained in:
parent
4ee066381c
commit
57d54a0edd
1 changed files with 5 additions and 4 deletions
|
|
@ -128,10 +128,11 @@ if it would act as a paragraph-starter on the second line."
|
|||
:type 'regexp
|
||||
:group 'fill)
|
||||
|
||||
(defcustom adaptive-fill-function nil
|
||||
"Function to call to choose a fill prefix for a paragraph, or nil.
|
||||
A nil value means the function has not determined the fill prefix."
|
||||
:type '(choice (const nil) function)
|
||||
(defcustom adaptive-fill-function #'ignore
|
||||
"Function to call to choose a fill prefix for a paragraph.
|
||||
A nil return value means the function has not determined the fill prefix."
|
||||
:version "27.1"
|
||||
:type 'function
|
||||
:group 'fill)
|
||||
|
||||
(defvar fill-indent-according-to-mode nil ;Screws up CC-mode's filling tricks.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue