Mercurial > emacs
comparison lisp/simple.el @ 61232:728460f45e1e
(visible-mode): Use explicit :group keyword. This changes the group
of `visible-mode-hook' from paren-blinking to editing-basics.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sat, 02 Apr 2005 19:24:26 +0000 |
parents | ca079ae96939 |
children | 31cb9b5b8d41 7a3341d65a12 |
comparison
equal
deleted
inserted
replaced
61231:daa066b20711 | 61232:728460f45e1e |
---|---|
5236 | 5236 |
5237 Enabling Visible mode makes all invisible text temporarily visible. | 5237 Enabling Visible mode makes all invisible text temporarily visible. |
5238 Disabling Visible mode turns off that effect. Visible mode | 5238 Disabling Visible mode turns off that effect. Visible mode |
5239 works by saving the value of `buffer-invisibility-spec' and setting it to nil." | 5239 works by saving the value of `buffer-invisibility-spec' and setting it to nil." |
5240 :lighter " Vis" | 5240 :lighter " Vis" |
5241 :group 'editing-basics | |
5241 (when (local-variable-p 'vis-mode-saved-buffer-invisibility-spec) | 5242 (when (local-variable-p 'vis-mode-saved-buffer-invisibility-spec) |
5242 (setq buffer-invisibility-spec vis-mode-saved-buffer-invisibility-spec) | 5243 (setq buffer-invisibility-spec vis-mode-saved-buffer-invisibility-spec) |
5243 (kill-local-variable 'vis-mode-saved-buffer-invisibility-spec)) | 5244 (kill-local-variable 'vis-mode-saved-buffer-invisibility-spec)) |
5244 (when visible-mode | 5245 (when visible-mode |
5245 (set (make-local-variable 'vis-mode-saved-buffer-invisibility-spec) | 5246 (set (make-local-variable 'vis-mode-saved-buffer-invisibility-spec) |