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
Open sidebar
emacs
emacs
Commits
27601456
Commit
27601456
authored
Apr 30, 2010
by
Chong Yidong
Browse files
* minibuffer.el (tags-completion-at-point-function): Fix return value.
parent
afc61943
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/minibuffer.el
lisp/minibuffer.el
+8
-4
No files found.
lisp/ChangeLog
View file @
27601456
2010-04-30 Chong Yidong <cyd@stupidchicken.com>
* minibuffer.el (tags-completion-at-point-function): Fix return
value.
2010-04-30 Eli Zaretskii <eliz@gnu.org>
2010-04-30 Eli Zaretskii <eliz@gnu.org>
* composite.el (compose-region, reference-point-alist): Fix typos
* composite.el (compose-region, reference-point-alist): Fix typos
...
...
lisp/minibuffer.el
View file @
27601456
...
@@ -1169,6 +1169,7 @@ Currently supported properties are:
...
@@ -1169,6 +1169,7 @@ Currently supported properties are:
`:predicate' a predicate that completion candidates need to satisfy.
`:predicate' a predicate that completion candidates need to satisfy.
`:annotation-function' the value to use for `completion-annotate-function'."
)
`:annotation-function' the value to use for `completion-annotate-function'."
)
(
declare-function
tags-lazy-completion-table
"etags.el"
())
(
defun
tags-completion-at-point-function
()
(
defun
tags-completion-at-point-function
()
"Using tags, return a completion table for the text around point.
"Using tags, return a completion table for the text around point.
If no tags table is loaded, do nothing and return nil."
If no tags table is loaded, do nothing and return nil."
...
@@ -1180,11 +1181,14 @@ If no tags table is loaded, do nothing and return nil."
...
@@ -1180,11 +1181,14 @@ If no tags table is loaded, do nothing and return nil."
case-fold-search
))
case-fold-search
))
(
pattern
(
funcall
(
or
find-tag-default-function
(
pattern
(
funcall
(
or
find-tag-default-function
(
get
major-mode
'find-tag-default-function
)
(
get
major-mode
'find-tag-default-function
)
'find-tag-default
))))
'find-tag-default
)))
beg
)
(
when
pattern
(
when
pattern
(
tags-lazy-completion-table
)))))
(
save-excursion
(
search-backward
pattern
)
(
declare-function
tags-lazy-completion-table
"etags.el"
())
(
setq
beg
(
point
))
(
forward-char
(
length
pattern
))
(
list
beg
(
point
)
(
tags-lazy-completion-table
)))))))
(
defun
complete-symbol
(
&optional
arg
)
(
defun
complete-symbol
(
&optional
arg
)
"Perform completion on the text around point.
"Perform completion on the text around point.
...
...
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