]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/checkdoc.el: cl-defstruct + minor simplifications
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 8 Oct 2017 19:44:49 +0000 (15:44 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 8 Oct 2017 19:44:49 +0000 (15:44 -0400)
commit85b4e88194cae541a0093a9166f4306e6fd3109e
tree01ffc5d5431963185294a5cad22bec538c7f6ec1
parent9613690f6e51e2f2aa2bcbbede3e209d08cfaaad
* lisp/emacs-lisp/checkdoc.el: cl-defstruct + minor simplifications

(checkdoc-make-overlay, checkdoc-overlay-put, checkdoc-delete-overlay)
(checkdoc-overlay-start, checkdoc-overlay-end, checkdoc-char=)
(checkdoc-mode-line-update): Remove old compatibility aliases.
(checkdoc, checkdoc-interactive-loop):
Consolidate common code in if branches.
(checkdoc-error): New struct type.
(checkdoc-error-text, checkdoc-error-start, checkdoc-error-end)
(checkdoc-error-unfixable): Now defined by cl-defstruct.
lisp/emacs-lisp/checkdoc.el