diff options
| author | Stefan Monnier | 2010-01-04 13:18:38 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2010-01-04 13:18:38 -0500 |
| commit | c57008f6ef0b368e7beb820d83ab8be09c48736b (patch) | |
| tree | 2c09192eee806ade83c84a7d4ab45bedd87147ec /doc/lispref/ChangeLog | |
| parent | e3eb1dae0dbedaa4623e248be0e3db8c9495df02 (diff) | |
| download | emacs-c57008f6ef0b368e7beb820d83ab8be09c48736b.tar.gz emacs-c57008f6ef0b368e7beb820d83ab8be09c48736b.zip | |
Avoid dubious uses of save-excursions.
* doc/lispref/positions.texi (Excursions): Recommend the use of
save-current-buffer if applicable.
* doc/lispref/text.texi (Clickable Text): Fix the example code which used
save-excursion in a naive way which sometimes preserves point and
sometimes not.
* doc/lispref/variables.texi (Creating Buffer-Local):
* doc/lispref/os.texi (Session Management):
* doc/lispref/display.texi (GIF Images):
* doc/lispref/control.texi (Cleanups): Use (save|with)-current-buffer.
* doc/misc/gnus.texi (Posting Styles): Use with-current-buffer.
* doc/misc/calc.texi (Defining Simple Commands): Prefer save-current-buffer.
Diffstat (limited to 'doc/lispref/ChangeLog')
| -rw-r--r-- | doc/lispref/ChangeLog | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index e7467c20d25..6dfc203f638 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2010-01-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | Avoid dubious uses of save-excursions. | ||
| 4 | * positions.texi (Excursions): Recommend the use of | ||
| 5 | save-current-buffer if applicable. | ||
| 6 | * text.texi (Clickable Text): Fix the example code which used | ||
| 7 | save-excursion in a naive way which sometimes preserves point and | ||
| 8 | sometimes not. | ||
| 9 | * variables.texi (Creating Buffer-Local): | ||
| 10 | * os.texi (Session Management): | ||
| 11 | * display.texi (GIF Images): | ||
| 12 | * control.texi (Cleanups): Use (save|with)-current-buffer. | ||
| 13 | |||
| 1 | 2010-01-02 Eli Zaretskii <eliz@gnu.org> | 14 | 2010-01-02 Eli Zaretskii <eliz@gnu.org> |
| 2 | 15 | ||
| 3 | * modes.texi (Example Major Modes): Fix indentation. (Bug#5195) | 16 | * modes.texi (Example Major Modes): Fix indentation. (Bug#5195) |
| @@ -8375,7 +8388,7 @@ | |||
| 8375 | ;; End: | 8388 | ;; End: |
| 8376 | 8389 | ||
| 8377 | Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 8390 | Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
| 8378 | 2007, 2008, 2009 Free Software Foundation, Inc. | 8391 | 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 8379 | 8392 | ||
| 8380 | This file is part of GNU Emacs. | 8393 | This file is part of GNU Emacs. |
| 8381 | 8394 | ||