[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ddf5540: Fix thinko in my previous commit
From: |
Stefan Kangas |
Subject: |
master ddf5540: Fix thinko in my previous commit |
Date: |
Wed, 9 Dec 2020 16:50:29 -0500 (EST) |
branch: master
commit ddf55400dc70a394ecb0547f588f08c95ab8541a
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
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.
---
lisp/pcomplete.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el
index 4b31d15..1f33274 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master ddf5540: Fix thinko in my previous commit,
Stefan Kangas <=