diff options
| author | Lars Ingebrigtsen | 2021-06-03 10:19:22 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-06-03 10:21:12 +0200 |
| commit | e0da5d639e4e85afcaefdbe3b2ecb26279f8eff5 (patch) | |
| tree | 1cbfcbd29104be3d276e82e094da37f6efe1995d | |
| parent | 9a66aff5043664f1d8a74316fb6e5f702dde37df (diff) | |
| download | emacs-e0da5d639e4e85afcaefdbe3b2ecb26279f8eff5.tar.gz emacs-e0da5d639e4e85afcaefdbe3b2ecb26279f8eff5.zip | |
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).
| -rw-r--r-- | lisp/fringe.el | 11 |
1 files changed, 9 insertions, 2 deletions
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 | |||
| 181 | `set-fringe-mode' afterward to make it take real effect. | 181 | `set-fringe-mode' afterward to make it take real effect. |
| 182 | 182 | ||
| 183 | To modify the appearance of the fringe in a specific frame, use | 183 | To modify the appearance of the fringe in a specific frame, use |
| 184 | the interactive function `set-fringe-style'." | 184 | the interactive function `set-fringe-style'. |
| 185 | |||
| 186 | Note that, despite the name, this is not a variable that controls | ||
| 187 | a (major or minor) Emacs mode, but controls the appearance of the | ||
| 188 | fringes." | ||
| 185 | :type `(choice | 189 | :type `(choice |
| 186 | ,@ (mapcar (lambda (style) | 190 | ,@ (mapcar (lambda (style) |
| 187 | (let ((name | 191 | (let ((name |
| @@ -248,7 +252,10 @@ Fringe widths set by `set-window-fringes' override the default | |||
| 248 | fringe widths set by this command. This command applies to all | 252 | fringe widths set by this command. This command applies to all |
| 249 | frames that exist and frames to be created in the future. If you | 253 | frames that exist and frames to be created in the future. If you |
| 250 | want to set the default appearance of fringes on the selected | 254 | want to set the default appearance of fringes on the selected |
| 251 | frame only, see the command `set-fringe-style'." | 255 | frame only, see the command `set-fringe-style'. |
| 256 | |||
| 257 | Note that, despite the name, this is not a (major or minor) Emacs | ||
| 258 | mode, but a command that controls the appearance of the fringes." | ||
| 252 | (interactive (list (fringe-query-style 'all-frames))) | 259 | (interactive (list (fringe-query-style 'all-frames))) |
| 253 | (set-fringe-mode mode)) | 260 | (set-fringe-mode mode)) |
| 254 | 261 | ||