aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2013-09-13 09:22:12 +0200
committerJoakim Verona2013-09-13 09:22:12 +0200
commitf1a3b0d491f830e1fe5ce29aad325ec9dd4ebde1 (patch)
treea2342ae0a5893ce95b9df636a0a596611d7bfd2f
parent3c9c017cab31011b22218785d48b2bf9e95ef618 (diff)
parent96fd6ea2144e30cfb7aae3a3267e349b2e64bc1b (diff)
downloademacs-f1a3b0d491f830e1fe5ce29aad325ec9dd4ebde1.tar.gz
emacs-f1a3b0d491f830e1fe5ce29aad325ec9dd4ebde1.zip
merge from trunk
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/eshell/esh-util.el4
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-html.el7
4 files changed, 16 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 53153b22f4a..014b48771c1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12013-09-13 Glenn Morris <rgm@gnu.org> 12013-09-13 Glenn Morris <rgm@gnu.org>
2 2
3 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4
3 * eshell/esh-ext.el (eshell-search-path): Declare. 5 * eshell/esh-ext.el (eshell-search-path): Declare.
4 6
5 * eshell/em-prompt.el (eshell/pwd): Autoload it. 7 * eshell/em-prompt.el (eshell/pwd): Autoload it.
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index cac46ea8d18..5fa591a3082 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -562,6 +562,8 @@ Unless optional argument INPLACE is non-nil, return a new string."
562 (substring string 0 sublen) 562 (substring string 0 sublen)
563 string))) 563 string)))
564 564
565(defvar ange-cache)
566
565(and (featurep 'xemacs) 567(and (featurep 'xemacs)
566 (not (fboundp 'directory-files-and-attributes)) 568 (not (fboundp 'directory-files-and-attributes))
567 (defun directory-files-and-attributes (directory &optional full match nosort id-format) 569 (defun directory-files-and-attributes (directory &optional full match nosort id-format)
@@ -579,8 +581,6 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
579 (cons file (eshell-file-attributes (expand-file-name file directory))))) 581 (cons file (eshell-file-attributes (expand-file-name file directory)))))
580 (directory-files directory full match nosort))))) 582 (directory-files directory full match nosort)))))
581 583
582(defvar ange-cache)
583
584(defun eshell-directory-files-and-attributes (dir &optional full match nosort id-format) 584(defun eshell-directory-files-and-attributes (dir &optional full match nosort id-format)
585 "Make sure to use the handler for `directory-file-and-attributes'." 585 "Make sure to use the handler for `directory-file-and-attributes'."
586 (let* ((dir (expand-file-name dir))) 586 (let* ((dir (expand-file-name dir)))
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 2eea1fb833e..4e72ae06f51 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12013-09-13 Glenn Morris <rgm@gnu.org>
2
3 * gnus-html.el (declare-function): Add compat stub for ancient Emacs.
4 (image-size): Declare.
5
12013-09-12 Glenn Morris <rgm@gnu.org> 62013-09-12 Glenn Morris <rgm@gnu.org>
2 7
3 * gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body): 8 * gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body):
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el
index a5625dfed80..2700af3d009 100644
--- a/lisp/gnus/gnus-html.el
+++ b/lisp/gnus/gnus-html.el
@@ -28,6 +28,10 @@
28 28
29;;; Code: 29;;; Code:
30 30
31;; For Emacs <22.2 and XEmacs.
32(eval-and-compile
33 (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
34
31(eval-when-compile (require 'cl)) 35(eval-when-compile (require 'cl))
32 36
33(require 'gnus-art) 37(require 'gnus-art)
@@ -438,6 +442,9 @@ Return a string with image data."
438 (truncate (* gnus-max-image-proportion 442 (truncate (* gnus-max-image-proportion
439 (- (nth 3 edges) (nth 1 edges))))))) 443 (- (nth 3 edges) (nth 1 edges)))))))
440 444
445;; Behind display-graphic-p test.
446(declare-function image-size "image.c" (spec &optional pixels frame))
447
441(defun gnus-html-put-image (data url &optional alt-text) 448(defun gnus-html-put-image (data url &optional alt-text)
442 "Put an image with DATA from URL and optional ALT-TEXT." 449 "Put an image with DATA from URL and optional ALT-TEXT."
443 (when (gnus-graphic-display-p) 450 (when (gnus-graphic-display-p)