diff options
| author | Sam Steingold | 2017-11-22 16:14:22 -0500 |
|---|---|---|
| committer | Sam Steingold | 2017-11-22 16:14:36 -0500 |
| commit | f79c33b39f195d1b30d7a3e085804e45ab76358e (patch) | |
| tree | 6e50bcd256be4a3b49097d01291ceccb665d60e6 /admin/notes | |
| parent | a6844ee86e0577acaeb699a26902c4dc9e7352aa (diff) | |
| download | emacs-f79c33b39f195d1b30d7a3e085804e45ab76358e.tar.gz emacs-f79c33b39f195d1b30d7a3e085804e45ab76358e.zip | |
Use special-mode for read-only buffers.
* lisp/progmodes/etags.el (tags-table-mode): Define using
`define-derived-mode', inheriting from `special-mode'.
Not only the buffer is now read-only, but you can bury it with "q".
(select-tags-table-mode): No need to set `buffer-read-only'
explicitly, `special-mode' takes care of that.
* lisp/vc/log-edit.el (log-edit-show-files): Use `special-mode'
instead of setting `buffer-read-only' explicitly.
Diffstat (limited to 'admin/notes')
0 files changed, 0 insertions, 0 deletions