equal
deleted
inserted
replaced
28 (define-key global-map "\C-vt" (lambda nil (interactive) (switch-to-buffer "*scratch*"))) |
28 (define-key global-map "\C-vt" (lambda nil (interactive) (switch-to-buffer "*scratch*"))) |
29 |
29 |
30 (defvar my-work-file (expand-file-name "~/work.txt")) |
30 (defvar my-work-file (expand-file-name "~/work.txt")) |
31 (setq initial-buffer-choice my-work-file) |
31 (setq initial-buffer-choice my-work-file) |
32 (define-key global-map "\C-vw" (lambda nil (interactive) (find-file my-work-file))) |
32 (define-key global-map "\C-vw" (lambda nil (interactive) (find-file my-work-file))) |
|
33 |
|
34 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
35 (message "save-place") |
|
36 |
|
37 ;; `save-place-file' in ".emacs". |
|
38 (save-place-mode 1) ; since v25.1 |
33 |
39 |
34 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
40 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
35 (message "recentf") |
41 (message "recentf") |
36 |
42 |
37 (eval-and-compile |
43 (eval-and-compile |
1281 ;; I remove partial-completion-mode because it depricated in Emacs 24.0. |
1287 ;; I remove partial-completion-mode because it depricated in Emacs 24.0. |
1282 ;; Completion controled by 'completion-styles' variable. |
1288 ;; Completion controled by 'completion-styles' variable. |
1283 |
1289 |
1284 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1290 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1285 (message "dired") |
1291 (message "dired") |
1286 |
|
1287 ;; `save-place-file' in ".emacs". |
|
1288 (save-place-mode 1) ; since v25.1 |
|
1289 |
1292 |
1290 (require 'dired) |
1293 (require 'dired) |
1291 |
1294 |
1292 (setq dired-dwim-target t) |
1295 (setq dired-dwim-target t) |
1293 ;; dangerous |
1296 ;; dangerous |