aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBozhidar Batsov <[email protected]>2016-12-15 09:46:07 +0200
committerDan Gudmundsson <[email protected]>2017-02-08 12:45:37 +0100
commitce0e5bd0f6f43eaf8851d9f36f42efd19e2dd5f0 (patch)
treeea7a499909e54d688b60df2f70ed1d790578c970 /lib
parent61f8c82192764e2c1141dceed82904bd89edfc53 (diff)
downloadotp-ce0e5bd0f6f43eaf8851d9f36f42efd19e2dd5f0.tar.gz
otp-ce0e5bd0f6f43eaf8851d9f36f42efd19e2dd5f0.tar.bz2
otp-ce0e5bd0f6f43eaf8851d9f36f42efd19e2dd5f0.zip
Remove redundant function prog-mode
Diffstat (limited to 'lib')
-rw-r--r--lib/tools/emacs/erlang.el4
1 files changed, 0 insertions, 4 deletions
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.