Skip to content

Instantly share code, notes, and snippets.

@jamescherti
Last active November 5, 2024 14:56
Show Gist options
  • Save jamescherti/45c7f70d316c5d707910cbd1fdb676cb to your computer and use it in GitHub Desktop.
Save jamescherti/45c7f70d316c5d707910cbd1fdb676cb to your computer and use it in GitHub Desktop.
Emacs: Disable the truncation arrow.
;;; 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