|
|
@ -43,7 +43,7 @@ |
|
|
|
"Org Mode Packages") |
|
|
|
|
|
|
|
;; 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 |
|
|
|
(add-to-list 'package-archives |
|
|
@ -163,7 +163,14 @@ |
|
|
|
;; Windows specific configurations |
|
|
|
;(cond |
|
|
|
;((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 was added by Custom. |
|
|
|