
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; MODULE      : Init-buffer.scm
;; DESCRIPTION : This file is executed when creating a new buffer
;; COPYRIGHT   : (C) 1999  Joris van der Hoeven
;;
;; This software falls under the GNU general public license and comes WITHOUT
;; ANY WARRANTY WHATSOEVER. See the file $TEXMACS_PATH/LICENSE for details.
;; If you don't have this file, write to the Free Software Foundation, Inc.,
;; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(menu-main '(link texmacs-menu))
(menu-popup '(link texmacs-popup-menu))
(menu-icons 0 '(link texmacs-main-icons))
(menu-icons 1 '(link texmacs-context-icons))
;; (menu-icons 2 '(link texmacs-extra-icons))

(if (no-name?)
    (begin
      (init-style "letter")
      (init-env "language" (get-locale-language))
      (if (equal? (get-locale-language) "russian")
	  (init-env "font" "cyrillic"))
      (set-page-type (get-default-paper-size))
      (pretend-save-buffer)))
