mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Fix thinko in my previous commit
* lisp/pcomplete.el (pcomplete-comint-setup): Fix thinko in my previous commit. This was not a quoted symbol but a variable, and therefore cannot use setq-local.
This commit is contained in:
parent
1047f80f1c
commit
ddf55400dc
1 changed files with 2 additions and 2 deletions
|
|
@ -742,8 +742,8 @@ this is `comint-dynamic-complete-functions'."
|
|||
#'pcomplete-parse-comint-arguments)
|
||||
(add-hook 'completion-at-point-functions
|
||||
#'pcomplete-completions-at-point nil 'local)
|
||||
(setq-local completef-sym
|
||||
(copy-sequence (symbol-value completef-sym)))
|
||||
(set (make-local-variable completef-sym)
|
||||
(copy-sequence (symbol-value completef-sym)))
|
||||
(let* ((funs (symbol-value completef-sym))
|
||||
(elem (or (memq 'comint-filename-completion funs)
|
||||
(memq 'shell-filename-completion funs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue