aboutsummaryrefslogtreecommitdiffstats
path: root/oni-bookmark.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-03-08 23:12:23 -0800
committerGravatar Tom Willemse2019-03-08 23:12:23 -0800
commit592067ef70e9bb12ca6dae6c49d0b63fdbbbed29 (patch)
treeb57070c16bc1766e920dd61d0ea7d86c4134af16 /oni-bookmark.el
parenta600426b8930d2ebf85a03a7af5a3b1681aee65f (diff)
downloademacs-config-592067ef70e9bb12ca6dae6c49d0b63fdbbbed29.tar.gz
emacs-config-592067ef70e9bb12ca6dae6c49d0b63fdbbbed29.zip
Add oni-bookmark
Diffstat (limited to 'oni-bookmark.el')
-rw-r--r--oni-bookmark.el37
1 files changed, 37 insertions, 0 deletions
diff --git a/oni-bookmark.el b/oni-bookmark.el
new file mode 100644
index 0000000..58ddba7
--- /dev/null
+++ b/oni-bookmark.el
@@ -0,0 +1,37 @@
+;;; oni-bookmark.el --- Bookmark configuration -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2019 Tom Willemse
+
+;; Author: Tom Willemse <tom@ryuslash.org>
+;; Keywords: local
+;; Version: 20190228190906
+;; Package-Requires: (oni-data-dir)
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Bookmark configuration.
+
+;;; Code:
+
+(require 'bookmark)
+(require 'oni-data-dir)
+
+(setq bookmark-default-file (oni-data-dir-locate "bookmarks"))
+
+;;;###autoload(with-eval-after-load 'bookmark (require 'oni-bookmark))
+
+(provide 'oni-bookmark)
+;;; oni-bookmark.el ends here