]> git.eshelyaron.com Git - emacs.git/commit
Don't clobber docstrings of explicitly-defined mode hook variables
authorPhil Sainty <psainty@orcon.net.nz>
Mon, 16 Oct 2017 10:38:42 +0000 (23:38 +1300)
committerNoam Postavsky <npostavs@gmail.com>
Tue, 31 Oct 2017 12:20:30 +0000 (08:20 -0400)
commit3e7ebbe1bd5d33476190c789d17e4dd2d5f1bdfb
tree9b4eb6814ee124c10d1b4e2dc4c06385a160a515
parent9c8fe0248b95b1faa9f97d14fe16d3356130dee8
Don't clobber docstrings of explicitly-defined mode hook variables

* lisp/emacs-lisp/derived.el (define-derived-mode):
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): When defining the
mode hook variable, do not clobber pre-existing docstrings.
lisp/emacs-lisp/derived.el
lisp/emacs-lisp/easy-mmode.el