Commit e26aac1f authored by Glenn Morris's avatar Glenn Morris

* sym-comp.el (symbol-complete): Replace obsolete completion-annotate-function.

parent ac699eef
2013-05-31 Glenn Morris <>
* obsolete/sym-comp.el (symbol-complete):
Replace obsolete completion-annotate-function.
* progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
2013-05-31 Dmitry Gutov <>
......@@ -139,12 +139,13 @@ to be set buffer-locally. Variables `symbol-completion-symbol-function',
;; In case the transform needs to access it.
(symbol-completion-predicate predicate)
(if (functionp symbol-completion-transform-function)
(lambda (str)
(car-safe (cdr-safe
(funcall symbol-completion-transform-function
(lambda (str)
(car-safe (cdr-safe
(funcall symbol-completion-transform-function
(completion-in-region (- (point) (length pattern)) (point)
completions predicate)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment