Commit 4e0baad4 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Remove XEmacs compat code from checkdoc.el

* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode-map): Remove
XEmacs compat code.
parent 717a99da
......@@ -1174,9 +1174,8 @@ TEXT, START, END and UNFIXABLE conform to
;; Override some bindings
(define-key map "\C-\M-x" 'checkdoc-eval-defun)
(define-key map "\C-x`" 'checkdoc-continue)
(if (not (featurep 'xemacs))
(define-key map [menu-bar emacs-lisp eval-buffer]
(define-key map [menu-bar emacs-lisp eval-buffer]
;; Add some new bindings under C-c ?
(define-key pmap "x" 'checkdoc-defun)
(define-key pmap "X" 'checkdoc-ispell-defun)
......@@ -1229,10 +1228,7 @@ TEXT, START, END and UNFIXABLE conform to
["Check Defun" checkdoc-defun t]
["Check and Spell Defun" checkdoc-ispell-defun t]
["Check and Evaluate Defun" checkdoc-eval-defun t]
["Check and Evaluate Buffer" checkdoc-eval-current-buffer t]
;; XEmacs requires some weird stuff to add this menu in a minor mode.
;; What is it?
["Check and Evaluate Buffer" checkdoc-eval-current-buffer t]))
(define-minor-mode checkdoc-minor-mode
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment