mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
+format-region-p = nil
Should be a boolean in the first place; this fixes custom formatters that use it like a boolean.
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
;;; editor/format/autoload.el -*- lexical-binding: t; -*-
|
;;; editor/format/autoload.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(defvar +format-region-p 'buffer
|
(defvar +format-region-p nil
|
||||||
"A symbol representing whether the buffer or a region of it is being
|
"Is non-nil if currently reformatting a selected region, rather than the whole
|
||||||
formatted. Can be 'buffer or 'region.")
|
buffer.")
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(autoload 'format-all-probe "format-all")
|
(autoload 'format-all-probe "format-all")
|
||||||
|
Reference in New Issue
Block a user