Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
426f8573
Commit
426f8573
authored
Nov 18, 2005
by
Chong Yidong
Browse files
*** empty log message ***
parent
0f157ad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
lisp/longlines.el
lisp/longlines.el
+7
-7
No files found.
lisp/longlines.el
View file @
426f8573
...
...
@@ -132,12 +132,6 @@ are indicated with a symbol."
(
when
(
and
longlines-show-hard-newlines
(
not
longlines-showing
))
(
longlines-show-hard-newlines
))
(
when
longlines-auto-wrap
(
auto-fill-mode
0
)
(
add-hook
'after-change-functions
'longlines-after-change-function
nil
t
)
(
add-hook
'post-command-hook
'longlines-post-command-function
nil
t
))
;; Hacks to make longlines play nice with various modes.
(
cond
((
eq
major-mode
'mail-mode
)
...
...
@@ -151,7 +145,13 @@ are indicated with a symbol."
(
list
message-indent-citation-function
)))
(
add-to-list
'message-indent-citation-function
'longlines-decode-region
t
)))
)
(
when
longlines-auto-wrap
(
auto-fill-mode
0
)
(
add-hook
'after-change-functions
'longlines-after-change-function
nil
t
)
(
add-hook
'post-command-hook
'longlines-post-command-function
nil
t
)))
;; Turn off longlines mode
(
setq
buffer-file-format
(
delete
'longlines
buffer-file-format
))
(
if
longlines-showing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment