aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet/semantic/texi.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/semantic/texi.el')
-rw-r--r--lisp/cedet/semantic/texi.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/cedet/semantic/texi.el b/lisp/cedet/semantic/texi.el
index d9a5058e55c..fb7c9928d63 100644
--- a/lisp/cedet/semantic/texi.el
+++ b/lisp/cedet/semantic/texi.el
@@ -419,9 +419,9 @@ useful. Instead, look at the current symbol. If it is a command
419do primitive texinfo built ins. If not, use ispell to lookup words 419do primitive texinfo built ins. If not, use ispell to lookup words
420that start with that symbol. 420that start with that symbol.
421Any extra FLAGS are currently ignored." 421Any extra FLAGS are currently ignored."
422 (let ((prefix (car (oref context :prefix))) 422 (let ((prefix (car (slot-value context 'prefix)))
423 ) 423 )
424 (cond ((member 'function (oref context :prefixclass)) 424 (cond ((member 'function (slot-value context 'prefixclass))
425 ;; Do completion for texinfo commands 425 ;; Do completion for texinfo commands
426 (let* ((cmd (substring prefix 1)) 426 (let* ((cmd (substring prefix 1))
427 (lst (all-completions 427 (lst (all-completions
@@ -429,7 +429,7 @@ Any extra FLAGS are currently ignored."
429 (mapcar (lambda (f) (semantic-tag (concat "@" f) 'function)) 429 (mapcar (lambda (f) (semantic-tag (concat "@" f) 'function))
430 lst)) 430 lst))
431 ) 431 )
432 ((member 'word (oref context :prefixclass)) 432 ((member 'word (slot-value context 'prefixclass))
433 ;; Do completion for words via ispell. 433 ;; Do completion for words via ispell.
434 (require 'ispell) 434 (require 'ispell)
435 (let ((word-list (ispell-lookup-words prefix))) 435 (let ((word-list (ispell-lookup-words prefix)))