Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
e26aac1f
Commit
e26aac1f
authored
May 31, 2013
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sym-comp.el (symbol-complete): Replace obsolete completion-annotate-function.
parent
ac699eef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/obsolete/sym-comp.el
lisp/obsolete/sym-comp.el
+6
-5
No files found.
lisp/ChangeLog
View file @
e26aac1f
2013-05-31 Glenn Morris <rgm@gnu.org>
* 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 <dgutov@yandex.ru>
...
...
lisp/obsolete/sym-comp.el
View file @
e26aac1f
...
...
@@ -139,12 +139,13 @@ to be set buffer-locally. Variables `symbol-completion-symbol-function',
pattern
))
;; In case the transform needs to access it.
(
symbol-completion-predicate
predicate
)
(
completion-
annotate-function
(
completion-
extra-properties
(
if
(
functionp
symbol-completion-transform-function
)
(
lambda
(
str
)
(
car-safe
(
cdr-safe
(
funcall
symbol-completion-transform-function
str
)))))))
'
(
:annotation-function
(
lambda
(
str
)
(
car-safe
(
cdr-safe
(
funcall
symbol-completion-transform-function
str
))))))))
(
completion-in-region
(
-
(
point
)
(
length
pattern
))
(
point
)
completions
predicate
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment