Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Emacs のブックマークを自動保存 - ~fumi/ChangeLog
[go: Go Back, main page]

Prev / Next

2006-11-09 / Emacs のブックマークを自動保存

http://0xcc.net/blog/archives/000035.html

bookmark を使うため以下の設定を追加。

;; いやなブログ - Emacs のブックマークを自動保存
;; http://0xcc.net/blog/archives/000035.html
(defadvice bookmark-set (around bookmark-set-ad activate)
  (bookmark-load bookmark-default-file t t) ;; 登録前に最新のブックマークを読み直す
  ad-do-it
  (bookmark-save))

(defadvice bookmark-jump (before bookmark-set-ad activate)
  (bookmark-load bookmark-default-file t t))


操作は
- C-x r m: bookmark-set
- C-x r b: bookmark-jump
- C-x r l: bookmark-bmenu-list

comments powered by Disqus