diff options
| author | Stefan Monnier | 2014-09-22 15:20:45 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-09-22 15:20:45 -0400 |
| commit | 9949231fb06aa4a2dfa536e9d5125a81424db3a7 (patch) | |
| tree | a2259e8489127b8685097a20a3fd3d7be222d9fe /lisp | |
| parent | 298dfce8ac018aca6f8f1a38d7199cc28bfaf7fd (diff) | |
| parent | fc5ebc3f497a152132407d57a14cce147d59d29c (diff) | |
| download | emacs-9949231fb06aa4a2dfa536e9d5125a81424db3a7.tar.gz emacs-9949231fb06aa4a2dfa536e9d5125a81424db3a7.zip | |
Merge from emacs-24
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/cedet/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/cedet/ede/emacs.el | 9 | ||||
| -rw-r--r-- | lisp/url/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 4 | ||||
| -rw-r--r-- | lisp/url/url.el | 4 | ||||
| -rw-r--r-- | lisp/window.el | 10 |
7 files changed, 33 insertions, 20 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eb23aaf766b..271be39eea9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-09-22 Kan-Ru Chen <kanru@kanru.info> | ||
| 2 | |||
| 3 | * window.el (fit-window-to-buffer): When counting buffer width, | ||
| 4 | count the whole visible buffer. Correctly convert the body-height | ||
| 5 | to pixel size for window-text-pixel-size (Bug#18498). | ||
| 6 | |||
| 1 | 2014-09-22 Sam Steingold <sds@gnu.org> | 7 | 2014-09-22 Sam Steingold <sds@gnu.org> |
| 2 | 8 | ||
| 3 | * progmodes/sql.el (sql-product-alist): Improve the Vertica entry. | 9 | * progmodes/sql.el (sql-product-alist): Improve the Vertica entry. |
| @@ -191,8 +197,8 @@ | |||
| 191 | (pcase--expand): Use it. | 197 | (pcase--expand): Use it. |
| 192 | (pcase-exhaustive): New macro. (Bug#16567) | 198 | (pcase-exhaustive): New macro. (Bug#16567) |
| 193 | 199 | ||
| 194 | * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Add | 200 | * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): |
| 195 | pcase-exhaustive. | 201 | Add pcase-exhaustive. |
| 196 | 202 | ||
| 197 | 2014-09-13 Eli Zaretskii <eliz@gnu.org> | 203 | 2014-09-13 Eli Zaretskii <eliz@gnu.org> |
| 198 | 204 | ||
| @@ -349,8 +355,8 @@ | |||
| 349 | 355 | ||
| 350 | 2014-09-05 Martin Rudalics <rudalics@gmx.at> | 356 | 2014-09-05 Martin Rudalics <rudalics@gmx.at> |
| 351 | 357 | ||
| 352 | * scroll-bar.el (horizontal-scroll-bars-available-p): New | 358 | * scroll-bar.el (horizontal-scroll-bars-available-p): |
| 353 | function. | 359 | New function. |
| 354 | (horizontal-scroll-bar-mode): Rewrite using | 360 | (horizontal-scroll-bar-mode): Rewrite using |
| 355 | horizontal-scroll-bars-available-p. | 361 | horizontal-scroll-bars-available-p. |
| 356 | * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using | 362 | * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using |
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 820e75260a9..9aabc9c9e0d 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-09-22 David Engster <deng@randomsample.de> | ||
| 2 | |||
| 3 | * ede/emacs.el (ede-emacs-version): Do not call 'egrep' to | ||
| 4 | determine Emacs version (it was dead code anyway). Make sure that | ||
| 5 | configure.ac or configure.in exist. (Bug#18476) | ||
| 6 | |||
| 1 | 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * semantic/ia.el (semantic-ia-complete-symbol-menu): Use posn-at-point | 9 | * semantic/ia.el (semantic-ia-complete-symbol-menu): Use posn-at-point |
diff --git a/lisp/cedet/ede/emacs.el b/lisp/cedet/ede/emacs.el index 43f16da8a77..76925a66713 100644 --- a/lisp/cedet/ede/emacs.el +++ b/lisp/cedet/ede/emacs.el | |||
| @@ -80,12 +80,6 @@ Return a tuple of ( EMACSNAME . VERSION )." | |||
| 80 | (with-current-buffer buff | 80 | (with-current-buffer buff |
| 81 | (erase-buffer) | 81 | (erase-buffer) |
| 82 | (setq default-directory (file-name-as-directory dir)) | 82 | (setq default-directory (file-name-as-directory dir)) |
| 83 | (or (file-exists-p configure_ac) | ||
| 84 | (setq configure_ac "configure.in")) | ||
| 85 | ;(call-process "egrep" nil buff nil "-n" "-e" "^version=" "Makefile") | ||
| 86 | (call-process "egrep" nil buff nil "-n" "-e" "AC_INIT" configure_ac) | ||
| 87 | (goto-char (point-min)) | ||
| 88 | ;(re-search-forward "version=\\([0-9.]+\\)") | ||
| 89 | (cond | 83 | (cond |
| 90 | ;; Maybe XEmacs? | 84 | ;; Maybe XEmacs? |
| 91 | ((file-exists-p "version.sh") | 85 | ((file-exists-p "version.sh") |
| @@ -113,7 +107,8 @@ m4_define(\\[SXEM4CS_BETA_VERSION\\], \\[\\([0-9]+\\)\\])") | |||
| 113 | ;; Insert other Emacs here... | 107 | ;; Insert other Emacs here... |
| 114 | 108 | ||
| 115 | ;; Vaguely recent version of GNU Emacs? | 109 | ;; Vaguely recent version of GNU Emacs? |
| 116 | (t | 110 | ((or (file-exists-p configure_ac) |
| 111 | (file-exists-p (setq configure_ac "configure.in"))) | ||
| 117 | (insert-file-contents configure_ac) | 112 | (insert-file-contents configure_ac) |
| 118 | (goto-char (point-min)) | 113 | (goto-char (point-min)) |
| 119 | (re-search-forward "AC_INIT(\\(?:GNU \\)?[eE]macs,\\s-*\\([0-9.]+\\)\\s-*[,)]") | 114 | (re-search-forward "AC_INIT(\\(?:GNU \\)?[eE]macs,\\s-*\\([0-9.]+\\)\\s-*[,)]") |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 9554c6e519c..b99f57cfbfd 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-09-22 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * url.el (url-retrieve-internal): Clarify the docstring. | ||
| 4 | |||
| 5 | * url-http.el (url-http): Same. (Bug#18116) | ||
| 6 | |||
| 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | 7 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> |
| 2 | 8 | ||
| 3 | * url-handlers.el: Remove a comment about VMS, which we no longer | 9 | * url-handlers.el: Remove a comment about VMS, which we no longer |
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 608a865be7b..cba4c6fbc02 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -1171,8 +1171,8 @@ the end of the document." | |||
| 1171 | "Retrieve URL via HTTP asynchronously. | 1171 | "Retrieve URL via HTTP asynchronously. |
| 1172 | URL must be a parsed URL. See `url-generic-parse-url' for details. | 1172 | URL must be a parsed URL. See `url-generic-parse-url' for details. |
| 1173 | 1173 | ||
| 1174 | When retrieval is completed, execute the function CALLBACK, using | 1174 | When retrieval is completed, execute the function CALLBACK, passing it |
| 1175 | the arguments listed in CBARGS. The first element in CBARGS | 1175 | an updated value of CBARGS as arguments. The first element in CBARGS |
| 1176 | should be a plist describing what has happened so far during the | 1176 | should be a plist describing what has happened so far during the |
| 1177 | request, as described in the docstring of `url-retrieve' (if in | 1177 | request, as described in the docstring of `url-retrieve' (if in |
| 1178 | doubt, specify nil). | 1178 | doubt, specify nil). |
diff --git a/lisp/url/url.el b/lisp/url/url.el index 620593a9a81..4594ab6a7f7 100644 --- a/lisp/url/url.el +++ b/lisp/url/url.el | |||
| @@ -170,8 +170,8 @@ URL-encoded before it's used." | |||
| 170 | (defun url-retrieve-internal (url callback cbargs &optional silent | 170 | (defun url-retrieve-internal (url callback cbargs &optional silent |
| 171 | inhibit-cookies) | 171 | inhibit-cookies) |
| 172 | "Internal function; external interface is `url-retrieve'. | 172 | "Internal function; external interface is `url-retrieve'. |
| 173 | CBARGS is the list of arguments that the callback function will | 173 | The callback function will receive an updated value of CBARGS as |
| 174 | receive; its first element should be a plist specifying what has | 174 | arguments; its first element should be a plist specifying what has |
| 175 | happened so far during the request, as described in the docstring | 175 | happened so far during the request, as described in the docstring |
| 176 | of `url-retrieve' (if in doubt, specify nil). | 176 | of `url-retrieve' (if in doubt, specify nil). |
| 177 | 177 | ||
diff --git a/lisp/window.el b/lisp/window.el index c19392f1fe9..5ac04c7e99a 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -7377,10 +7377,10 @@ accessible position." | |||
| 7377 | max-width)) | 7377 | max-width)) |
| 7378 | (+ total-width (window-max-delta | 7378 | (+ total-width (window-max-delta |
| 7379 | nil t nil nil nil nil pixelwise)))) | 7379 | nil t nil nil nil nil pixelwise)))) |
| 7380 | ;; When fitting vertically, assume that WINDOW's start | 7380 | ;; When fitting horizontally, assume that WINDOW's |
| 7381 | ;; position remains unaltered. WINDOW can't get wider | 7381 | ;; start position remains unaltered. WINDOW can't get |
| 7382 | ;; than its frame's pixel width, its height remains | 7382 | ;; wider than its frame's pixel width, its height |
| 7383 | ;; unaltered. | 7383 | ;; remains unaltered. |
| 7384 | (width (+ (car (window-text-pixel-size | 7384 | (width (+ (car (window-text-pixel-size |
| 7385 | nil (window-start) (point-max) | 7385 | nil (window-start) (point-max) |
| 7386 | (frame-pixel-width) | 7386 | (frame-pixel-width) |
| @@ -7389,7 +7389,7 @@ accessible position." | |||
| 7389 | ;; overshoots when the first line below | 7389 | ;; overshoots when the first line below |
| 7390 | ;; the bottom is wider than the window. | 7390 | ;; the bottom is wider than the window. |
| 7391 | (* body-height | 7391 | (* body-height |
| 7392 | (if pixelwise char-height 1)))) | 7392 | (if pixelwise 1 char-height)))) |
| 7393 | (window-right-divider-width)))) | 7393 | (window-right-divider-width)))) |
| 7394 | (unless pixelwise | 7394 | (unless pixelwise |
| 7395 | (setq width (/ (+ width char-width -1) char-width))) | 7395 | (setq width (/ (+ width char-width -1) char-width))) |