* lisp/dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
* lisp/eshell/esh-io.el (x-select-enable-clipboard): Declare.
* lisp/erc/erc-button.el (erc-button-add-buttons):
* lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments):
* lisp/eshell/em-hist.el (eshell/history, eshell-isearch-backward):
* lisp/eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
Remove unused local variables.
2013-09-18 Glenn Morris <rgm@gnu.org>
+ * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
+
+ * eshell/em-cmpl.el (eshell-complete-parse-arguments):
+ * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
+ * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
+ Remove unused local variables.
+
+ * eshell/esh-io.el (x-select-enable-clipboard): Declare.
+
* textmodes/two-column.el: Make 2C-split work for --without-x.
(scroll-bar-columns): Autoload.
(top-level): Require fringe when compiling.
"Return non-nil if FRAME is currently available."
(and frame (frame-live-p frame) (frame-visible-p frame)))
+(defvar x-sensitive-text-pointer-shape)
+(defvar x-pointer-shape)
+
(defun dframe-frame-mode (arg frame-var cache-var buffer-var frame-name
local-mode-fn
&optional
+2013-09-18 Glenn Morris <rgm@gnu.org>
+
+ * erc-button.el (erc-button-add-buttons): Remove unused local vars.
+
2013-09-14 Vivek Dasmohapatra <vivek@etla.org>
* erc.el (erc-update-mode-line-buffer):
(inhibit-point-motion-hooks t)
(inhibit-field-text-motion t)
(alist erc-button-alist)
- entry regexp data)
+ regexp)
(erc-button-remove-old-buttons)
(dolist (entry alist)
(if (equal (car entry) (quote (quote nicknames)))
(cl-assert (= (length args) (length posns)))
(let ((a args)
(i 0)
- l final)
+ l)
(while a
(if (and (consp (car a))
(eq (caar a) 'eshell-operator))
(and (or (not (ring-p eshell-history-ring))
(ring-empty-p eshell-history-ring))
(error "No history"))
- (let (length command file)
+ (let (length file)
(when (and args (string-match "^[0-9]+$" (car args)))
(setq length (min (eshell-convert (car args))
(ring-length eshell-history-ring))
(write-history (eshell-write-history file))
(append-history (eshell-write-history file t))
(t
- (let* ((history nil)
- (index (1- (or length (ring-length eshell-history-ring))))
+ (let* ((index (1- (or length (ring-length eshell-history-ring))))
(ref (- (ring-length eshell-history-ring) index)))
;; We have to build up a list ourselves from the ring vector.
(while (>= index 0)
(defun eshell-isearch-backward (&optional invert)
"Do incremental regexp search backward through past commands."
(interactive)
- (let ((inhibit-read-only t) end)
+ (let ((inhibit-read-only t))
(eshell-prepare-for-search)
(goto-char (point-max))
(set-marker eshell-last-output-end (point))
functions. PRED-FUNCS take a filename and return t if the test
succeeds; MOD-FUNCS take any string and preform a modification,
returning the resultant string."
- (let (result negate follow preds mods)
+ (let (negate follow preds mods)
(condition-case nil
(while (not (eobp))
(let ((char (char-after)))
(defun eshell-pred-file-time (mod-char mod-type attr-index)
"Return a predicate to test whether a file matches a certain time."
(let* ((quantum 86400)
- qual amount when open close end)
+ qual when open close end)
(when (memq (char-after) '(?M ?w ?h ?m ?s))
(setq quantum (char-after))
(cond
:type 'integer
:group 'eshell-io)
+(defvar x-select-enable-clipboard) ; term/common-win
+
(defcustom eshell-virtual-targets
'(("/dev/eshell" eshell-interactive-print nil)
("/dev/kill" (lambda (mode)