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
b5c9c131
Commit
b5c9c131
authored
Dec 28, 2014
by
Paul Eggert
Browse files
Spelling fixes
parent
c5504d10
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
lisp/progmodes/python.el
lisp/progmodes/python.el
+4
-4
nt/ChangeLog
nt/ChangeLog
+1
-1
src/ChangeLog.10
src/ChangeLog.10
+1
-1
src/ChangeLog.12
src/ChangeLog.12
+2
-2
No files found.
lisp/progmodes/python.el
View file @
b5c9c131
...
...
@@ -2531,7 +2531,7 @@ the python shell:
(concat
(format "# -*- coding: %s -*-\n" encoding)
(make-string
;; Sub
s
tract 2 because of the coding cookie.
;; Subtract 2 because of the coding cookie.
(- (line-number-at-pos start) 2) ?\n))))
(toplevel-block-p (save-excursion
(goto-char start)
...
...
@@ -3951,7 +3951,7 @@ operator."
(defun python-info-encoding-from-cookie ()
"Detect current buffer's encoding from its coding cookie.
Returns the enco
n
ding as a symbol."
Returns the encoding as a symbol."
(let ((first-two-lines
(save-excursion
(save-restriction
...
...
@@ -3968,9 +3968,9 @@ Returns the enconding as a symbol."
"Return encoding for file.
Try `python-info-encoding-from-cookie', if none is found then
default to utf-8."
;; If no enco
n
ding is defined, then it's safe to use UTF-8: Python 2
;; If no encoding is defined, then it's safe to use UTF-8: Python 2
;; uses ASCII as default while Python 3 uses UTF-8. This means that
;; in the worst case
e
scenario python.el will make things work for
;; in the worst case scenario python.el will make things work for
;; Python 2 files with unicode data and no encoding defined.
(or (python-info-encoding-from-cookie)
'utf-8))
...
...
nt/ChangeLog
View file @
b5c9c131
...
...
@@ -725,7 +725,7 @@
2012-10-01 Eli Zaretskii <eliz@gnu.org>
* preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
'void *', for pointer arithmetic
s
.
'void *', for pointer arithmetic.
(OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
macro arguments in parentheses.
...
...
src/ChangeLog.10
View file @
b5c9c131
...
...
@@ -2826,7 +2826,7 @@
2006-07-21 Eli Zaretskii <eliz@gnu.org>
* w32.c (convert_time): Use explicit long double constants to
ensure long double arithmetic
s
is used throughout.
ensure long double arithmetic is used throughout.
2006-07-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
...
...
src/ChangeLog.12
View file @
b5c9c131
...
...
@@ -2327,7 +2327,7 @@
2012-12-08 Fabrice Popineau <fabrice.popineau@gmail.com>
* w32fns.c (emacs_abort): Don't do arithmetic
s
on void pointers.
* w32fns.c (emacs_abort): Don't do arithmetic on void pointers.
2012-12-08 Eli Zaretskii <eliz@gnu.org>
...
...
@@ -4716,7 +4716,7 @@
defining an XRectangle structure.
* w32proc.c (RVA_TO_PTR, w32_executable_type): Fix pointer
arithmetic
s
for compatibility with x64.
arithmetic for compatibility with x64.
* w32menu.c (add_menu_item): Use UINT_PTR instead of UINT, for
compatibility with x64.
...
...
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