- Replaced `(set (make-local-variable 'foo) bar)` with `(setq-local foo bar)`
This commit is contained in:
Lucius Hu 2021-03-17 23:18:17 -04:00 committed by duianto
parent f4067d6375
commit f7650f89c9
1 changed files with 3 additions and 3 deletions

View File

@ -158,8 +158,8 @@ so we can restore it when turning `ido-vertical-mode' off")
" [Too big]"
" [Confirm]"
(concat "\n" indicator padding) ; left bracket around the sole remaining completion
"" ; right bracket around the sole remaining completion
))
"")) ; right bracket around the sole remaining completion
(defun ido-vertical-or-horizontal-completions (name)
(if (and ido-vertical-disable-if-short
@ -318,7 +318,7 @@ so we can restore it when turning `ido-vertical-mode' off")
(defun ido-vertical-disable-line-truncation ()
"Prevent the newlines in the minibuffer from being truncated"
(set (make-local-variable 'truncate-lines) nil))
(setq-local truncate-lines nil))
(defun ido-vertical-turn-on ()
(if (and (eq nil ido-vertical-old-decorations)