mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(read-abbrev-file): Use abbrev-file-name if optional
file is nil.
This commit is contained in:
parent
def2755256
commit
ec7793c3a6
2 changed files with 6 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ Optional second argument QUIETLY non-nil means don't display a message."
|
|||
(read-file-name (format "Read abbrev file (default %s): "
|
||||
abbrev-file-name)
|
||||
nil abbrev-file-name t)))
|
||||
(load file nil quietly)
|
||||
(load (or file abbrev-file-name) nil quietly)
|
||||
(setq abbrevs-changed nil))
|
||||
|
||||
(defun quietly-read-abbrev-file (&optional file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue