aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-12-01 10:59:17 -0500
committerStefan Monnier2013-12-01 10:59:17 -0500
commitfb651d155a0551b1746df345918666bd031867df (patch)
tree8f3ba2dd81532dd8ebabe8d8b88c6f7296e06da5
parent4570dd161427cb1d52d847ab32ece0fd74765df7 (diff)
downloademacs-fb651d155a0551b1746df345918666bd031867df.tar.gz
emacs-fb651d155a0551b1746df345918666bd031867df.zip
* lisp/simple.el (newline): Mention `electric-indent-mode'.
Fixes: debbugs:16015
-rw-r--r--lisp/ChangeLog30
-rw-r--r--lisp/simple.el3
2 files changed, 16 insertions, 17 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9bdea147f43..41a507f519f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,22 +1,20 @@
12013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4
12013-12-01 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de> 52013-12-01 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
2 6
3 * net/eww.el (eww-form-checkbox-selected-symbol): New 7 * net/eww.el (eww-form-checkbox-selected-symbol)
4 customizable variable.
5 (eww-form-checkbox-symbol): New customizable variable. 8 (eww-form-checkbox-symbol): New customizable variable.
6 (eww-form-checkbox): Use `eww-form-checkbox-selected-symbol' and 9 (eww-form-checkbox, eww-toggle-checkbox):
7 `eww-form-checkbox-symbol'. 10 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8 (eww-toggle-checkbox): Use `eww-form-checkbox-selected-symbol' and
9 `eww-form-checkbox-symbol'.
10 11
11 * net/shr.el (shr-prefer-media-type-alist): : New customizable 12 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
12 variable. 13 (shr--get-media-pref, shr--extract-best-source): New function.
13 (shr--get-media-pref): New function.
14 (shr--extract-best-source): New function.
15 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when 14 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
16 no :src tag was specified. 15 no :src tag was specified.
17 16
18 * net/eww.el (eww-use-external-browser-for-content-type): New 17 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
19 variable.
20 (eww-render): Handle `eww-use-external-browser-for-content-type'. 18 (eww-render): Handle `eww-use-external-browser-for-content-type'.
21 Use \\` to match beginning of string instead of ^. 19 Use \\` to match beginning of string instead of ^.
22 (eww-browse-with-external-browser): Provide optional URL parameter. 20 (eww-browse-with-external-browser): Provide optional URL parameter.
@@ -112,11 +110,11 @@
112 (balance-windows-area-adjust, balance-windows-area) 110 (balance-windows-area-adjust, balance-windows-area)
113 (window--state-get-1, window-state-get, window--state-put-1) 111 (window--state-get-1, window-state-get, window--state-put-1)
114 (window--state-put-2, window-state-put) 112 (window--state-put-2, window-state-put)
115 (display-buffer-record-window, window--display-buffer): Make 113 (display-buffer-record-window, window--display-buffer):
116 functions handle pixelwise sizing of windows. 114 Make functions handle pixelwise sizing of windows.
117 (display-buffer--action-function-custom-type) 115 (display-buffer--action-function-custom-type)
118 (display-buffer-fallback-action): Add 116 (display-buffer-fallback-action):
119 display-buffer-in-previous-window. 117 Add display-buffer-in-previous-window.
120 (display-buffer-use-some-window): Resize window to height it had 118 (display-buffer-use-some-window): Resize window to height it had
121 before. 119 before.
122 (fit-window-to-buffer-horizontally): New option. 120 (fit-window-to-buffer-horizontally): New option.
diff --git a/lisp/simple.el b/lisp/simple.el
index 16f03d2e5f9..bdf1455f4e2 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -384,7 +384,8 @@ text-property `hard'.
384With ARG, insert that many newlines. 384With ARG, insert that many newlines.
385Call `auto-fill-function' if the current column number is greater 385Call `auto-fill-function' if the current column number is greater
386than the value of `fill-column' and ARG is nil. 386than the value of `fill-column' and ARG is nil.
387A non-nil INTERACTIVE argument means to run the `post-self-insert-hook'." 387A non-nil INTERACTIVE argument means to run the `post-self-insert-hook',
388which by default will also indent the line (see `electric-indent-mode')."
388 (interactive "*P\np") 389 (interactive "*P\np")
389 (barf-if-buffer-read-only) 390 (barf-if-buffer-read-only)
390 ;; Call self-insert so that auto-fill, abbrev expansion etc. happens. 391 ;; Call self-insert so that auto-fill, abbrev expansion etc. happens.