mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Avoid compilation warning in files.el
* lisp/files.el (auto-save-visited-file-name): Avoid obsoletion warning due to its use in auto-save-visited-mode.
This commit is contained in:
parent
c6e94f894b
commit
0cff089ec8
1 changed files with 4 additions and 1 deletions
|
|
@ -434,8 +434,11 @@ and toggle it if ARG is `toggle'."
|
|||
(not (and buffer-auto-save-file-name
|
||||
auto-save-visited-file-name)))))))
|
||||
|
||||
;; The 'set' part is so we don't get a warning for using this variable
|
||||
;; above, while still catching code that _sets_ the variable to get
|
||||
;; the same effect as the new auto-save-visited-mode.
|
||||
(make-obsolete-variable 'auto-save-visited-file-name 'auto-save-visited-mode
|
||||
"Emacs 26.1")
|
||||
"Emacs 26.1" 'set)
|
||||
|
||||
(defcustom save-abbrevs t
|
||||
"Non-nil means save word abbrevs too when files are saved.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue