aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-05-09 16:42:38 +0200
committerDan Gudmundsson <[email protected]>2017-05-09 16:42:38 +0200
commit381a47d5219407f9c734cf0b081776129e7c180f (patch)
tree0ff9ad303f020a954592686aa63bb332e74ece73 /lib/tools
parent55086871a95f7ac518fc7e5a8e626f4f9b84e096 (diff)
downloadotp-381a47d5219407f9c734cf0b081776129e7c180f.tar.gz
otp-381a47d5219407f9c734cf0b081776129e7c180f.tar.bz2
otp-381a47d5219407f9c734cf0b081776129e7c180f.zip
[emacs] fixup Forgot progn
Diffstat (limited to 'lib/tools')
-rw-r--r--lib/tools/emacs/erlang.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index 14a47b1034..438abc2d29 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -4706,9 +4706,10 @@ for a tag on the form `module:tag'."
(if (fboundp 'advice-add)
;; Emacs 24.4+
- ((require 'etags)
- (advice-add 'etags-tags-completion-table :around
- #'erlang-etags-tags-completion-table-advice))
+ (progn
+ (require 'etags)
+ (advice-add 'etags-tags-completion-table :around
+ #'erlang-etags-tags-completion-table-advice))
;; Emacs 23.1-24.3
(defadvice etags-tags-completion-table (around
erlang-replace-tags-table