summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-16 16:06:34 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-16 16:06:34 +0200
commitdf937c20801fc6a73cc3786611b1b94aab3e93c3 (patch)
treeef63ec8fbfe1ddaf5ff671cb52c340cdcf881ed8
parentbf8c80be7d26d5c574a0209f16052e3ff578b071 (diff)
downloademacs-df937c20801fc6a73cc3786611b1b94aab3e93c3.tar.gz
Remove obsolete name arg from two constructors
* lisp/cedet/semantic/grammar.el (semantic-analyze-current-context): Remove obsolete name arg. * lisp/cedet/srecode/insert.el (srecode--insert-into-buffer): Ditto.
-rw-r--r--lisp/cedet/semantic/grammar.el1
-rw-r--r--lisp/cedet/srecode/insert.el3
2 files changed, 1 insertions, 3 deletions
diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el
index 0db675b8f23..8ffa4c6d83e 100644
--- a/lisp/cedet/semantic/grammar.el
+++ b/lisp/cedet/semantic/grammar.el
@@ -1898,7 +1898,6 @@ Optional argument COLOR determines if color is added to the text."
(setq context-return
(semantic-analyze-context
- "context-for-semantic-grammar"
:buffer (current-buffer)
:scope nil
:bounds bounds
diff --git a/lisp/cedet/srecode/insert.el b/lisp/cedet/srecode/insert.el
index 5eb2edd067f..966cd485e82 100644
--- a/lisp/cedet/srecode/insert.el
+++ b/lisp/cedet/srecode/insert.el
@@ -183,8 +183,7 @@ Buffer based features related to change hooks is handled one level up."
)
(let ((reg
;; Create the field-driven editable area.
- (srecode-template-inserted-region
- "TEMPLATE" :start start :end (point))))
+ (srecode-template-inserted-region :start start :end (point))))
(srecode-overlaid-activate reg))
)
;; We return with 'point being the end of the template insertion