[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/hyperbole-merge-7.0.2b d4653c5 10/23: Require 2.0 of tree
From: |
Stefan Monnier |
Subject: |
[elpa] scratch/hyperbole-merge-7.0.2b d4653c5 10/23: Require 2.0 of treemacs and use bury-buffer |
Date: |
Tue, 5 Feb 2019 16:11:19 -0500 (EST) |
branch: scratch/hyperbole-merge-7.0.2b
commit d4653c540b98b0aa13b5de9daf500ebe2a1e36cf
Author: Mats Lidell <address@hidden>
Commit: Mats Lidell <address@hidden>
Require 2.0 of treemacs and use bury-buffer
treemacs-toogle has been removed and replaced by using bury-buffer so
use that too.
---
hui-treemacs.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hui-treemacs.el b/hui-treemacs.el
index ca947d8..7994a7a 100644
--- a/hui-treemacs.el
+++ b/hui-treemacs.el
@@ -19,8 +19,8 @@
(eval-and-compile (require 'treemacs nil t))
(progn ()
- (unless (>= (string-to-number treemacs-version) 1.18)
- (error "(hui-treemacs): Hyperbole requires Treemacs package version 1.18
or greater")))
+ (unless (>= (string-to-number treemacs-version) 2.0)
+ (error "(hui-treemacs): Hyperbole requires Treemacs package version 2.0 or
greater")))
;;; ************************************************************************
;;; smart-treemacs functions
@@ -51,10 +51,10 @@ If key is pressed:
(interactive)
(cond ((first-line-p)
(if (eolp)
- (treemacs-toggle)
+ (bury-buffer)
(hact 'link-to-directory default-directory)))
((and (last-line-p) (eolp))
- (treemacs-toggle))
+ (bury-buffer))
((eolp)
(funcall (if assist-flag assist-key-eol-function
action-key-eol-function)))
(t (let ((over-icon (and (treemacs-current-button)
@@ -86,7 +86,7 @@ Suitable for use as a value of
`action-key-modeline-buffer-id-function'."
(treemacs-is-treemacs-window? action-key-depress-window)
(string-match " Treemacs " (format-mode-line mode-line-format)))
;; Quit/hide treemacs.
- (treemacs-toggle))
+ (bury-buffer))
;;
;; Treemacs is visible and displaying the same dir as
;; the default dir of the clicked on modeline.
@@ -95,7 +95,7 @@ Suitable for use as a value of
`action-key-modeline-buffer-id-function'."
(with-current-buffer (treemacs-buffer-exists?)
default-directory)))
;; Quit/hide treemacs.
- (treemacs-toggle))
+ (bury-buffer))
;;
;; Otherwise, invoke treemacs on the default dir of the clicked on
modeline.
(t (treemacs))))
- [elpa] branch scratch/hyperbole-merge-7.0.2b created (now c75213b), Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b e803881 01/23: Fixed a cyclic Lisp library require; improved multi-frame hkey-throw, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b b7beb76 02/23: Fixed hkey-throw temporary display of a buffer in a new frame, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 7efe2f2 03/23: Removed Koutliner use of filladapt mode; it can cause filling errors, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 30600eb 04/23: Added extensive gitlab-reference ibtype; improved github-reference, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 1568adb 07/23: Merge Mats TEXINFO_SRC Makefile changes, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b ad584fd 11/23: Use implicit button org-mode also for org derived modes, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b f446ee0 22/23: Fixed README.md typo that referred to HY-ABOUT instead of HY-NEWS., Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 45a0841 12/23: Add default search term for web searches, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b d4653c5 10/23: Require 2.0 of treemacs and use bury-buffer,
Stefan Monnier <=
- [elpa] scratch/hyperbole-merge-7.0.2b c0bd503 05/23: Rebuild doc when doc sources have changed, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 5892083 09/23: Use new treemacs 1.18 function treemacs-toggle-node, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 450489e 13/23: Adjust tramp-file-name-regexp to work with looking-at, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 2e878cb 16/23: Initial commit of Windows path handling, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b d729726 21/23: Merge branch 'master' of github.com:rswgnu/hyperbole, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 66106d3 08/23: Fixed issue with inhibit-hyperbole-messaging not be set properly, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b afe3db8 06/23: Added 'k' to klink ids exported to html;, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 09e646e 17/23: Add implicit path button support for MSWindows paths, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b b02bf71 19/23: Merge branch 'master' of git.sv.gnu.org:/srv/git/hyperbole with changes, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 6139ba6 20/23: Set theme jekyll-theme-cayman, Stefan Monnier, 2019/02/05