Skip to content

Commit

Permalink
Remove XClip, set window title in xterm.
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosemer committed Jan 7, 2025
1 parent 4f5da46 commit 7c8ee4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion custom.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'(mouse-wheel-progressive-speed nil)
'(nxml-slash-auto-complete-flag t)
'(package-selected-packages
'(bar-cursor dired-icon form-feed-st markdown-mode slime window-tool-bar xclip))
'(bar-cursor dired-icon form-feed-st markdown-mode slime window-tool-bar))
'(package-vc-selected-packages
'((window-tool-bar :vc-backend Git :url "http://github.com/chaosemer/window-tool-bar")
(init-dir :vc-backend Git :url "http://github.com/chaosemer/init-dir")))
Expand Down
8 changes: 1 addition & 7 deletions emacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
(defun global-window-tool-bar-mode (&optional _)
;; Do nothing -- stub
))
(unless (fboundp 'xclip-mode)
;; If this triggers, make sure to install the `xclip' package from GNU Elpa.
(display-warning 'emacs "SETUP ISSUE: xclip package is not installed.")
(defun xclip-mode (&optional _)
;; Do nothing -- stub
))

;; This file is known to be slow, so add a bit more time here.
(defvar init-dir--long-load-time-warning)
Expand Down Expand Up @@ -78,7 +72,6 @@
(recentf-mode 1)
(tooltip-mode -1)
(url-handler-mode 1)
(xclip-mode 1)

;; Toolbar display
(global-window-tool-bar-mode 1)
Expand All @@ -91,6 +84,7 @@
(progn (pixel-scroll-precision-mode 1)
(setf pixel-scroll-precision-interpolate-page t))
(xterm-mouse-mode 1)
(setf xterm-set-window-title t)
(when (string-match "microsoft" (shell-command-to-string "uname -r"))
;; Windows Console does not properly report that it supports
;; setSelection. It does not support other functionality.
Expand Down

0 comments on commit 7c8ee4c

Please sign in to comment.