(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
- (global-font-lock-mode 1)
+ ;; (global-font-lock-mode 1) Not needed in recent emacsen
#+end_src
** Five small steps toward a personalized system
#+BEGIN_SRC elisp
;; -*- mode: elisp -*-
-;;disable the splash screen (to enable it agin, replace the t with 0)
+;; Disable the splash screen (to enable it agin, replace the t with 0)
(setq inhibit-splash-screen t)
-;;enable syntax highlighting
-(global-font-lock-mode t)
+;; Enable transient mark mode
(transient-mark-mode 1)
;;;;org-mode configuration
-;;enable org-mode
+;; Enable org-mode
(require 'org)
-;;make org-mode work with files ending in .org
-(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
+;; Make org-mode work with files ending in .org
+;; (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
+;; The above is the default in recent emacsen
#+END_SRC
Restart Emacs.