Function: read-abbrev-file

read-abbrev-file is an interactive and byte-compiled function defined in abbrev.el.gz.

Signature

(read-abbrev-file &optional FILE QUIETLY)

Documentation

Read abbrev definitions from file written with write-abbrev-file.

Optional argument FILE is the name of the file to read; it defaults to the value of abbrev-file-name. Optional second argument QUIETLY non-nil means don't display a message about loading the abbrevs.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/abbrev.el.gz
(defun read-abbrev-file (&optional file quietly)
  "Read abbrev definitions from file written with `write-abbrev-file'.
Optional argument FILE is the name of the file to read;
it defaults to the value of `abbrev-file-name'.
Optional second argument QUIETLY non-nil means don't display a message
about loading the abbrevs."
  (interactive
   (list
    (read-file-name (format-prompt "Read abbrev file" abbrev-file-name)
		    nil abbrev-file-name t)))
  (let ((warning-inhibit-types '((files missing-lexbind-cookie))))
    (load (or file abbrev-file-name) nil quietly))
  (setq abbrevs-changed nil))