summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-28 14:59:17 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-28 14:59:17 +0400
commit4f2daf31078e2cc059710e129dffe0beed8fc7c2 (patch)
treecd2e5335659530ab83f4b214567ed97cd3ad685b /lisp/emacs-lisp
parentcc319c03f148c2c004ba390d85e9a09f452d69c1 (diff)
downloademacs-4f2daf31078e2cc059710e129dffe0beed8fc7c2.tar.gz
emacs-4f2daf31078e2cc059710e129dffe0beed8fc7c2.tar.bz2
emacs-4f2daf31078e2cc059710e129dffe0beed8fc7c2.zip
Do not allow to set major mode for a dead buffer.
* buffer.c (Fset_buffer_major_mode): Signal an error if the buffer is dead. (Fother_buffer, other_buffer_safely): Remove redundant nested declaration.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions