mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-31 01:32:00 -07:00
* lisp/progmodes/hideshow.el (hs--set-variable): Use 'set-local' (bug#80999)
This commit is contained in:
parent
f12b01582d
commit
0e7a24d931
1 changed files with 2 additions and 2 deletions
|
|
@ -1228,9 +1228,9 @@ DEFAULT is a value to use as fallback."
|
|||
(val (if (integerp nth)
|
||||
(nth nth old-lookup)
|
||||
(funcall nth old-lookup))))
|
||||
(set (make-local-variable var) val)
|
||||
(set-local var val)
|
||||
(when default
|
||||
(set (make-local-variable var) default)))))
|
||||
(set-local var default)))))
|
||||
|
||||
;; TODO: When `hs-special-modes-alist' is removed, `hs-grok-mode-type'
|
||||
;; and `hs--set-variable' will no longer be necessary, but
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue