Add emacs localfile support
This commit is contained in:
@@ -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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user