Fixing lexical-binding issue
This commit is contained in:
parent
be5aed29c3
commit
b73534c47b
@ -1,3 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
; make backup to a designated dir, mirroring the full path
|
||||
(defun xah-backup-nested-dir-file-path (Fpath)
|
||||
"Return a new file path and create dirs.
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
;; Clipboard integration (Not work in terminal)
|
||||
(setq select-enable-clipboard t)
|
||||
(setq select-enable-primary t)
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
;; For example, set the default tab width to 4 spaces
|
||||
(setq-default tab-width 4)
|
||||
;; For Python mode, set the indentation style
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(global-set-key (kbd "C-c \\" ) 'treemacs ) ;; Tree Toggle
|
||||
(global-set-key (kbd "C-c C-\\" ) 'treemacs-select-window ) ;; Tree Focus
|
||||
(global-set-key (kbd "C-c M-`" ) 'treemacs-edit-workspaces )
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(treemacs-define-RET-action 'file-node-closed #'treemacs-visit-node-ace)
|
||||
(treemacs-define-RET-action 'file-node-open #'treemacs-visit-node-ace)
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(require 'package)
|
||||
|
||||
(package-initialize)
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(setq tab-bar-show 1) ;; Show the tab bar only when more than one tab exists.
|
||||
|
||||
(global-display-line-numbers-mode t) ;; Display line numbers
|
||||
|
||||
1
init.el
1
init.el
@ -1,3 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(add-to-list 'load-path (expand-file-name "config" user-emacs-directory))
|
||||
(load-file (expand-file-name "packages.el" (concat user-emacs-directory "config")))
|
||||
(load-file (expand-file-name "ui.el" (concat user-emacs-directory "config")))
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
;;; dracula-theme.el --- Dracula Theme
|
||||
|
||||
;; Copyright 2015-present, All rights reserved
|
||||
|
||||
Loading…
Reference in New Issue
Block a user