aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-05-09 15:12:52 +0200
committerSiri Hansen <[email protected]>2017-05-09 15:12:52 +0200
commitc58f2e9484e34fee022dc71df0dce8f05034225f (patch)
tree443b589b7865478ca9c233509676ebe7afa06c37
parent0049bee925a014c2dfb49c8d98eac94165532070 (diff)
downloadotp-c58f2e9484e34fee022dc71df0dce8f05034225f.tar.gz
otp-c58f2e9484e34fee022dc71df0dce8f05034225f.tar.bz2
otp-c58f2e9484e34fee022dc71df0dce8f05034225f.zip
[emacs] Fix paranthesis error advice-add
-rw-r--r--lib/tools/emacs/erlang.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index 5a0c814509..14a47b1034 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -4706,9 +4706,9 @@ for a tag on the form `module:tag'."
(if (fboundp 'advice-add)
;; Emacs 24.4+
- (require 'etags)
+ ((require 'etags)
(advice-add 'etags-tags-completion-table :around
- #'erlang-etags-tags-completion-table-advice)
+ #'erlang-etags-tags-completion-table-advice))
;; Emacs 23.1-24.3
(defadvice etags-tags-completion-table (around
erlang-replace-tags-table