From: Lars Ingebrigtsen Date: Thu, 3 Jun 2021 08:19:22 +0000 (+0200) Subject: fringe-mode doc clarifications X-Git-Tag: emacs-28.0.90~2211 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e0da5d639e4e85afcaefdbe3b2ecb26279f8eff5;p=emacs.git fringe-mode doc clarifications * lisp/fringe.el (fringe-mode): (fringe-mode): Note that this variable and command have nothing to do with modes (bug#6931). --- diff --git a/lisp/fringe.el b/lisp/fringe.el index e2d7968adde..d73aae0459e 100644 --- a/lisp/fringe.el +++ b/lisp/fringe.el @@ -181,7 +181,11 @@ When setting this variable in a Lisp program, call `set-fringe-mode' afterward to make it take real effect. To modify the appearance of the fringe in a specific frame, use -the interactive function `set-fringe-style'." +the interactive function `set-fringe-style'. + +Note that, despite the name, this is not a variable that controls +a (major or minor) Emacs mode, but controls the appearance of the +fringes." :type `(choice ,@ (mapcar (lambda (style) (let ((name @@ -248,7 +252,10 @@ Fringe widths set by `set-window-fringes' override the default fringe widths set by this command. This command applies to all frames that exist and frames to be created in the future. If you want to set the default appearance of fringes on the selected -frame only, see the command `set-fringe-style'." +frame only, see the command `set-fringe-style'. + +Note that, despite the name, this is not a (major or minor) Emacs +mode, but a command that controls the appearance of the fringes." (interactive (list (fringe-query-style 'all-frames))) (set-fringe-mode mode))