Disable save-place in large/long files
This commit is contained in:
parent
0b4356a7d5
commit
7cc8a90c11
1 changed files with 2 additions and 0 deletions
|
@ -492,6 +492,8 @@ files, so we replace calls to `pp' with the much faster `prin1'."
|
||||||
(delq! 'buffer-read-only so-long-variable-overrides 'assq)
|
(delq! 'buffer-read-only so-long-variable-overrides 'assq)
|
||||||
;; ...but at least reduce the level of syntax highlighting
|
;; ...but at least reduce the level of syntax highlighting
|
||||||
(add-to-list 'so-long-variable-overrides '(font-lock-maximum-decoration . 1))
|
(add-to-list 'so-long-variable-overrides '(font-lock-maximum-decoration . 1))
|
||||||
|
;; ...and insist that save-place not operate in large/long files
|
||||||
|
(add-to-list 'so-long-variable-overrides '(save-place-alist . nil))
|
||||||
;; Text files could possibly be too long too
|
;; Text files could possibly be too long too
|
||||||
(add-to-list 'so-long-target-modes 'text-mode)
|
(add-to-list 'so-long-target-modes 'text-mode)
|
||||||
;; But disable everything else that may be unnecessary/expensive for large
|
;; But disable everything else that may be unnecessary/expensive for large
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue