From ce0e5bd0f6f43eaf8851d9f36f42efd19e2dd5f0 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 15 Dec 2016 09:46:07 +0200 Subject: Remove redundant function prog-mode --- lib/tools/emacs/erlang.el | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el index 5558366b64..2a534ab75f 100644 --- a/lib/tools/emacs/erlang.el +++ b/lib/tools/emacs/erlang.el @@ -1372,10 +1372,6 @@ replaced by `erlang-etags-tags-completion-table'.") (called-interactively-p 'interactive) (funcall (symbol-function 'interactive-p)))) -(unless (fboundp 'prog-mode) - (defun prog-mode () - (use-local-map (make-keymap)))) - ;;;###autoload (define-derived-mode erlang-mode prog-mode "Erlang" "Major mode for editing Erlang source files in Emacs. -- cgit v1.2.3