Add emacs localfile support

This commit is contained in:
Marco Thomas
2021-06-23 12:21:55 +02:00
parent 85efcbaea8
commit 3869f61d72

View File

@@ -6,8 +6,7 @@
; ;
; ~ M. Thomas ; ~ M. Thomas
(setq make-backup-files nil) ;; We dont need these (setq make-backup-files nil) ;; We dont need these (setq auto-save-default nil) ;; Not this one either
(setq auto-save-default nil) ;; Not this one either
(menu-bar-mode -1) ;; The menu bar looks ugly in terminal (menu-bar-mode -1) ;; The menu bar looks ugly in terminal
(tool-bar-mode -1) ;; Nobody needs this (tool-bar-mode -1) ;; Nobody needs this
(scroll-bar-mode -1) (scroll-bar-mode -1)
@@ -447,12 +446,12 @@
("\\ex" ?∃) ("\\ex" ?∃)
("\\all" ?∀) ("\\all" ?∀)
; sets of numbers ; sets of numbers
("NN" ?) ("\\NN" ?)
("ZZ" ?) ("\\ZZ" ?)
("QQ" ?) ("\\QQ" ?)
("RR" ?) ("\\RR" ?)
("CC" ?) ("\\CC" ?)
("PP" ?) ("\\PP" ?)
) )
(mapc (lambda (x) (mapc (lambda (x)
(if (cddr x) (if (cddr x)
@@ -505,3 +504,8 @@
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
) )
;; load local file
(when (file-exists-p "~/.emacs.d/local.el")
(message "Loading ~/.emacs.d/local.el")
(load-file "~/.emacs.d/local.el"))