summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2017-11-22 16:14:22 -0500
committerSam Steingold <sds@gnu.org>2017-11-22 16:14:36 -0500
commitf79c33b39f195d1b30d7a3e085804e45ab76358e (patch)
tree6e50bcd256be4a3b49097d01291ceccb665d60e6 /test/lisp/emacs-lisp
parenta6844ee86e0577acaeb699a26902c4dc9e7352aa (diff)
downloademacs-f79c33b39f195d1b30d7a3e085804e45ab76358e.tar.gz
emacs-f79c33b39f195d1b30d7a3e085804e45ab76358e.tar.bz2
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 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions