|
@ -43,7 +43,7 @@ |
|
|
"Org Mode Packages") |
|
|
"Org Mode Packages") |
|
|
|
|
|
|
|
|
;; Combine the package lists |
|
|
;; Combine the package lists |
|
|
(defvar sothr/packages (append sothr/tools sothr/modes sothr/org) "Default Packages") |
|
|
|
|
|
|
|
|
(defvar sothr/packages (append sothr/themes sothr/tools sothr/modes sothr/org) "Default Packages") |
|
|
|
|
|
|
|
|
;; Repositories |
|
|
;; Repositories |
|
|
(add-to-list 'package-archives |
|
|
(add-to-list 'package-archives |
|
@ -165,6 +165,13 @@ |
|
|
;((string-equal system-type "windows-nt") ; MS Windows System |
|
|
;((string-equal system-type "windows-nt") ; MS Windows System |
|
|
;(windows-config))) |
|
|
;(windows-config))) |
|
|
|
|
|
|
|
|
|
|
|
;; Advice for open files as root if we don't have enough permissions |
|
|
|
|
|
(defadvice ido-find-file (after find-file-sudo activate) |
|
|
|
|
|
"Find file as root if necessary." |
|
|
|
|
|
(unless (and buffer-file-name |
|
|
|
|
|
(file-writable-p buffer-file-name)) |
|
|
|
|
|
(find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name)))) |
|
|
|
|
|
|
|
|
(custom-set-variables |
|
|
(custom-set-variables |
|
|
;; custom-set-variables was added by Custom. |
|
|
;; custom-set-variables was added by Custom. |
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|