aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/dframe.el3
-rw-r--r--lisp/erc/ChangeLog4
-rw-r--r--lisp/erc/erc-button.el2
-rw-r--r--lisp/eshell/em-cmpl.el2
-rw-r--r--lisp/eshell/em-hist.el7
-rw-r--r--lisp/eshell/em-pred.el4
-rw-r--r--lisp/eshell/esh-io.el2
8 files changed, 25 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a4f150317e3..439b1db7d5f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,14 @@
12013-09-18 Glenn Morris <rgm@gnu.org> 12013-09-18 Glenn Morris <rgm@gnu.org>
2 2
3 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4
5 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8 Remove unused local variables.
9
10 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
11
3 * textmodes/two-column.el: Make 2C-split work for --without-x. 12 * textmodes/two-column.el: Make 2C-split work for --without-x.
4 (scroll-bar-columns): Autoload. 13 (scroll-bar-columns): Autoload.
5 (top-level): Require fringe when compiling. 14 (top-level): Require fringe when compiling.
diff --git a/lisp/dframe.el b/lisp/dframe.el
index 3ef30d055b6..c75287bbc32 100644
--- a/lisp/dframe.el
+++ b/lisp/dframe.el
@@ -243,6 +243,9 @@ Local to those buffers, as a function called that created it.")
243 "Return non-nil if FRAME is currently available." 243 "Return non-nil if FRAME is currently available."
244 (and frame (frame-live-p frame) (frame-visible-p frame))) 244 (and frame (frame-live-p frame) (frame-visible-p frame)))
245 245
246(defvar x-sensitive-text-pointer-shape)
247(defvar x-pointer-shape)
248
246(defun dframe-frame-mode (arg frame-var cache-var buffer-var frame-name 249(defun dframe-frame-mode (arg frame-var cache-var buffer-var frame-name
247 local-mode-fn 250 local-mode-fn
248 &optional 251 &optional
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index 2c10f7fef22..413969c31ec 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,7 @@
12013-09-18 Glenn Morris <rgm@gnu.org>
2
3 * erc-button.el (erc-button-add-buttons): Remove unused local vars.
4
12013-09-14 Vivek Dasmohapatra <vivek@etla.org> 52013-09-14 Vivek Dasmohapatra <vivek@etla.org>
2 6
3 * erc.el (erc-update-mode-line-buffer): 7 * erc.el (erc-update-mode-line-buffer):
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el
index ac8600c57fd..0edb771438a 100644
--- a/lisp/erc/erc-button.el
+++ b/lisp/erc/erc-button.el
@@ -267,7 +267,7 @@ specified by `erc-button-alist'."
267 (inhibit-point-motion-hooks t) 267 (inhibit-point-motion-hooks t)
268 (inhibit-field-text-motion t) 268 (inhibit-field-text-motion t)
269 (alist erc-button-alist) 269 (alist erc-button-alist)
270 entry regexp data) 270 regexp)
271 (erc-button-remove-old-buttons) 271 (erc-button-remove-old-buttons)
272 (dolist (entry alist) 272 (dolist (entry alist)
273 (if (equal (car entry) (quote (quote nicknames))) 273 (if (equal (car entry) (quote (quote nicknames)))
diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el
index a940eb5cd36..5cb5d931700 100644
--- a/lisp/eshell/em-cmpl.el
+++ b/lisp/eshell/em-cmpl.el
@@ -370,7 +370,7 @@ to writing a completion function."
370 (cl-assert (= (length args) (length posns))) 370 (cl-assert (= (length args) (length posns)))
371 (let ((a args) 371 (let ((a args)
372 (i 0) 372 (i 0)
373 l final) 373 l)
374 (while a 374 (while a
375 (if (and (consp (car a)) 375 (if (and (consp (car a))
376 (eq (caar a) 'eshell-operator)) 376 (eq (caar a) 'eshell-operator))
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el
index 8e56de251a1..12ec8ce1f35 100644
--- a/lisp/eshell/em-hist.el
+++ b/lisp/eshell/em-hist.el
@@ -330,7 +330,7 @@ unless a different file is specified on the command line.")
330 (and (or (not (ring-p eshell-history-ring)) 330 (and (or (not (ring-p eshell-history-ring))
331 (ring-empty-p eshell-history-ring)) 331 (ring-empty-p eshell-history-ring))
332 (error "No history")) 332 (error "No history"))
333 (let (length command file) 333 (let (length file)
334 (when (and args (string-match "^[0-9]+$" (car args))) 334 (when (and args (string-match "^[0-9]+$" (car args)))
335 (setq length (min (eshell-convert (car args)) 335 (setq length (min (eshell-convert (car args))
336 (ring-length eshell-history-ring)) 336 (ring-length eshell-history-ring))
@@ -346,8 +346,7 @@ unless a different file is specified on the command line.")
346 (write-history (eshell-write-history file)) 346 (write-history (eshell-write-history file))
347 (append-history (eshell-write-history file t)) 347 (append-history (eshell-write-history file t))
348 (t 348 (t
349 (let* ((history nil) 349 (let* ((index (1- (or length (ring-length eshell-history-ring))))
350 (index (1- (or length (ring-length eshell-history-ring))))
351 (ref (- (ring-length eshell-history-ring) index))) 350 (ref (- (ring-length eshell-history-ring) index)))
352 ;; We have to build up a list ourselves from the ring vector. 351 ;; We have to build up a list ourselves from the ring vector.
353 (while (>= index 0) 352 (while (>= index 0)
@@ -945,7 +944,7 @@ If N is negative, search backwards for the -Nth previous match."
945(defun eshell-isearch-backward (&optional invert) 944(defun eshell-isearch-backward (&optional invert)
946 "Do incremental regexp search backward through past commands." 945 "Do incremental regexp search backward through past commands."
947 (interactive) 946 (interactive)
948 (let ((inhibit-read-only t) end) 947 (let ((inhibit-read-only t))
949 (eshell-prepare-for-search) 948 (eshell-prepare-for-search)
950 (goto-char (point-max)) 949 (goto-char (point-max))
951 (set-marker eshell-last-output-end (point)) 950 (set-marker eshell-last-output-end (point))
diff --git a/lisp/eshell/em-pred.el b/lisp/eshell/em-pred.el
index f7d7605107f..a3aebc23faa 100644
--- a/lisp/eshell/em-pred.el
+++ b/lisp/eshell/em-pred.el
@@ -306,7 +306,7 @@ predicate functions. MOD-FUNC-LIST is a list of result modifier
306functions. PRED-FUNCS take a filename and return t if the test 306functions. PRED-FUNCS take a filename and return t if the test
307succeeds; MOD-FUNCS take any string and preform a modification, 307succeeds; MOD-FUNCS take any string and preform a modification,
308returning the resultant string." 308returning the resultant string."
309 (let (result negate follow preds mods) 309 (let (negate follow preds mods)
310 (condition-case nil 310 (condition-case nil
311 (while (not (eobp)) 311 (while (not (eobp))
312 (let ((char (char-after))) 312 (let ((char (char-after)))
@@ -399,7 +399,7 @@ returning the resultant string."
399(defun eshell-pred-file-time (mod-char mod-type attr-index) 399(defun eshell-pred-file-time (mod-char mod-type attr-index)
400 "Return a predicate to test whether a file matches a certain time." 400 "Return a predicate to test whether a file matches a certain time."
401 (let* ((quantum 86400) 401 (let* ((quantum 86400)
402 qual amount when open close end) 402 qual when open close end)
403 (when (memq (char-after) '(?M ?w ?h ?m ?s)) 403 (when (memq (char-after) '(?M ?w ?h ?m ?s))
404 (setq quantum (char-after)) 404 (setq quantum (char-after))
405 (cond 405 (cond
diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el
index c4c0bd43790..90b1f8ec972 100644
--- a/lisp/eshell/esh-io.el
+++ b/lisp/eshell/esh-io.el
@@ -118,6 +118,8 @@ from executing while Emacs is redisplaying."
118 :type 'integer 118 :type 'integer
119 :group 'eshell-io) 119 :group 'eshell-io)
120 120
121(defvar x-select-enable-clipboard) ; term/common-win
122
121(defcustom eshell-virtual-targets 123(defcustom eshell-virtual-targets
122 '(("/dev/eshell" eshell-interactive-print nil) 124 '(("/dev/eshell" eshell-interactive-print nil)
123 ("/dev/kill" (lambda (mode) 125 ("/dev/kill" (lambda (mode)