Function: htmlfontify-save-initfile
htmlfontify-save-initfile is an interactive and byte-compiled function
defined in htmlfontify.el.gz.
Signature
(htmlfontify-save-initfile)
Documentation
Save the htmlfontify settings to the htmlfontify init file.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defun htmlfontify-save-initfile ()
"Save the htmlfontify settings to the htmlfontify init file."
(interactive)
(let* ((start-pos nil)
(custom-file (hfy-initfile))
(standard-output (find-file-noselect custom-file 'nowarn)))
(save-excursion
(custom-save-delete 'hfy-init-progn)
(setq start-pos (point))
(princ "(hfy-init-progn\n;;auto-generated, only one copy allowed\n")
;; FIXME: This saving&restoring of global customization
;; variables can interfere with other customization settings for
;; those vars (in .emacs or in Customize).
(mapc #'hfy-save-initvar
'(auto-mode-alist interpreter-mode-alist))
(princ ")\n")
(indent-region start-pos (point) nil))
(custom-save-all) ))