mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* lisp/net/tramp-cmds.el, lisp/allout.el: Avoid custom-set-variables
* lisp/net/tramp-cmds.el (tramp-change-syntax): * lisp/allout.el (allout-init): Avoid custom-set-variables.
This commit is contained in:
parent
48f149b40b
commit
83dc3f0e9b
4 changed files with 5 additions and 5 deletions
|
|
@ -1687,7 +1687,7 @@ from what it did before, for backwards compatibility.
|
|||
MODE is the activation mode - see `allout-auto-activation' for
|
||||
valid values."
|
||||
(declare (obsolete allout-auto-activation "23.3"))
|
||||
(custom-set-variables (list 'allout-auto-activation (format "%s" mode)))
|
||||
(customize-set-variable 'allout-auto-activation (format "%s" mode))
|
||||
(format "%s" mode))
|
||||
|
||||
;;;_ > allout-setup-menubar ()
|
||||
|
|
|
|||
|
|
@ -986,7 +986,7 @@ If given a prefix (or a COMMENT argument), also prompt for a comment."
|
|||
current-prefix-arg))
|
||||
(custom-load-symbol variable)
|
||||
(custom-push-theme 'theme-value variable 'user 'set (custom-quote value))
|
||||
(funcall (or (get variable 'custom-set) 'set-default) variable value)
|
||||
(funcall (or (get variable 'custom-set) #'set-default) variable value)
|
||||
(put variable 'customized-value (list (custom-quote value)))
|
||||
(cond ((string= comment "")
|
||||
(put variable 'variable-comment nil)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ SYNTAX can be one of the symbols `default' (default),
|
|||
(unless (string-equal input "")
|
||||
(list (intern input)))))
|
||||
(when syntax
|
||||
(custom-set-variables `(tramp-syntax ',syntax))))
|
||||
(customize-set-variable 'tramp-syntax syntax)))
|
||||
|
||||
(defun tramp-list-tramp-buffers ()
|
||||
"Return a list of all Tramp connection buffers."
|
||||
|
|
|
|||
|
|
@ -670,8 +670,8 @@ It can have the following values:
|
|||
`simplified' -- Ange-FTP like syntax
|
||||
`separate' -- Syntax as defined for XEmacs originally
|
||||
|
||||
Do not change the value by `setq', it must be changed only by
|
||||
`custom-set-variables'. See also `tramp-change-syntax'."
|
||||
Do not change the value by `setq', it must be changed only via
|
||||
Customize. See also `tramp-change-syntax'."
|
||||
:group 'tramp
|
||||
:version "26.1"
|
||||
:package-version '(Tramp . "2.3.3")
|
||||
|
|
|
|||
Loading…
Reference in a new issue