diff options
-rw-r--r-- | basic.el | 6 | ||||
-rw-r--r-- | completion-conf.el | 5 | ||||
-rw-r--r-- | eshell-conf.el | 5 |
3 files changed, 15 insertions, 1 deletions
@@ -116,6 +116,12 @@ (setq ns-use-native-fullscreen nil) (setq ns-use-proxy-icon nil) +;;; set info directory + +(add-to-list + 'Info-directory-list + "/Users/durand/w.emacs.d/emacs/info/") + ;;; bookmark (define-key global-map (vector ?\H-b) #'bookmark-jump) diff --git a/completion-conf.el b/completion-conf.el index b4d2c03..b47520d 100644 --- a/completion-conf.el +++ b/completion-conf.el @@ -57,6 +57,11 @@ (define-key completion-list-mode-map (vector ?\C-n) #'durand-completion-scroll-down-or-go-to-minibuffer) (define-key completion-list-mode-map (vector ?\C-p) #'durand-completion-scroll-up-or-go-to-minibuffer) +;;; New behaviours of emacs 29 make the default completion list more useful now + +(setq completion-auto-select 'second-tab) +(setq completion-auto-wrap t) + ;;; Headlong stuff ;;;###autoload diff --git a/eshell-conf.el b/eshell-conf.el index e99f037..42b727d 100644 --- a/eshell-conf.el +++ b/eshell-conf.el @@ -58,7 +58,10 @@ (elapsed-time-list (time-convert elapsed-time 'list)) (elapsed-time-int (time-convert elapsed-time 'integer)) (format-seconds-string - (format-seconds "%yy %dd %hh %mm %ss%z" elapsed-time-int)) + (cond ((> elapsed-time-int 0) + (format-seconds + "%yy %dd %hh %mm %ss%z" + elapsed-time-int)))) (microseconds (caddr elapsed-time-list)) (micro-str (cond ((or (>= elapsed-time-int 1) (> microseconds 10000)) |