Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b65b73 commit 8a13563Copy full SHA for 8a13563
1 file changed
CODING_GUIDE
@@ -113,14 +113,15 @@ python, C and C++
113
; and similarly for c++-mode-hook and c-mode-hook
114
(add-hook 'python-mode-hook
115
(lambda ()
116
- (add-hook 'local-write-file-hooks 'delete-trailing-whitespace)))
+ (add-hook 'write-file-functions 'delete-trailing-whitespace)))
117
+
118
119
-for older versions of emacs (emacs<23) you may need to do
120
+for older versions of emacs (emacs<22) you may need to do
121
122
123
- (add-hook 'write-file-functions 'delete-trailing-whitespace)))
124
+ (add-hook 'local-write-file-hooks 'delete-trailing-whitespace)))
125
126
127
0 commit comments