5238 |
Disabling Visible mode turns off that effect. Visible mode |
Disabling Visible mode turns off that effect. Visible mode |
5239 |
works by saving the value of `buffer-invisibility-spec' and setting it to nil." |
works by saving the value of `buffer-invisibility-spec' and setting it to nil." |
5240 |
:lighter " Vis" |
:lighter " Vis" |
5241 |
|
:group 'editing-basics |
5242 |
(when (local-variable-p 'vis-mode-saved-buffer-invisibility-spec) |
(when (local-variable-p 'vis-mode-saved-buffer-invisibility-spec) |
5243 |
(setq buffer-invisibility-spec vis-mode-saved-buffer-invisibility-spec) |
(setq buffer-invisibility-spec vis-mode-saved-buffer-invisibility-spec) |
5244 |
(kill-local-variable 'vis-mode-saved-buffer-invisibility-spec)) |
(kill-local-variable 'vis-mode-saved-buffer-invisibility-spec)) |