* lisp/display-fill-column-indicator.el: Fix bug#41145

(global-display-fill-column-indicator-mode): Specify the implicit
defustom's group explicitly.

* lisp/cus-dep.el (custom-make-dependencies): Also look at
define(-globalized)-minor-mode since it can also define custom vars.
This commit is contained in:
Stefan Monnier 2020-09-04 08:46:45 -04:00
parent 5489524ab0
commit 2b95300cf8
2 changed files with 4 additions and 2 deletions

View file

@ -99,7 +99,7 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
(setq name (intern name)))
(condition-case nil
(while (re-search-forward
"^(def\\(custom\\|face\\|group\\)" nil t)
"^(def\\(custom\\|face\\|group\\|ine\\(?:-globalized\\)?-minor-mode\\)" nil t)
(beginning-of-line)
(let ((type (match-string 1))
(expr (read (current-buffer))))

View file

@ -73,7 +73,9 @@ See Info node `Displaying Boundaries' for details."
;;;###autoload
(define-globalized-minor-mode global-display-fill-column-indicator-mode
display-fill-column-indicator-mode display-fill-column-indicator--turn-on)
display-fill-column-indicator-mode display-fill-column-indicator--turn-on
;; See bug#41145
:group 'display-fill-column-indicator)
(provide 'display-fill-column-indicator)