Last active
November 5, 2024 14:56
-
-
Save jamescherti/45c7f70d316c5d707910cbd1fdb676cb to your computer and use it in GitHub Desktop.
Emacs: Disable the truncation arrow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; disable-truncation-arrow.el --- Disable the truncation arrow. -*- lexical-binding: t; -*- | |
;; Gits URL: https://gist.github.com/jamescherti/45c7f70d316c5d707910cbd1fdb676cb | |
;; License: MIT | |
;; Author: James Cherti | |
(defun my-disable-fringe-truncation-arrow () | |
"Disable the truncation arrow." | |
(unless (boundp 'fringe-indicator-alist) | |
(error "The fringe-indicator-alist was not declared")) | |
(setq fringe-indicator-alist | |
(cl-remove-if (lambda (item) | |
(memq (car item) '(truncation continuation))) | |
fringe-indicator-alist)) | |
(push '(continuation nil nil) fringe-indicator-alist) | |
(push '(truncation nil nil) fringe-indicator-alist)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment