diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/pcomplete.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 4b31d157f67..1f3327435e2 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -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) |