diff options
author | Sam Steingold <sds@gnu.org> | 1999-11-15 18:59:00 +0000 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 1999-11-15 18:59:00 +0000 |
commit | da49057ce7949951fed8d81e91dcafe58e81c42a (patch) | |
tree | c2746797a4ba54bd6371f89c7b53e332dfd3203c /lisp/dabbrev.el | |
parent | 002c0506fcceec111d091ebd60a02be3cfca7b52 (diff) | |
download | emacs-da49057ce7949951fed8d81e91dcafe58e81c42a.tar.gz |
* dabbrev.el (dabbrev-filter-elements): Use the new backquote syntax.
Diffstat (limited to 'lisp/dabbrev.el')
-rw-r--r-- | lisp/dabbrev.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 371037312e2..909b86dbbcf 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -310,14 +310,14 @@ this list.") ;; variable ELEMENT, and include it in the result ;; if CONDITION evaluates non-nil. (defmacro dabbrev-filter-elements (element list condition) - (` (let (dabbrev-result dabbrev-tail (, element)) - (setq dabbrev-tail (, list)) - (while dabbrev-tail - (setq (, element) (car dabbrev-tail)) - (if (, condition) - (setq dabbrev-result (cons (, element) dabbrev-result))) - (setq dabbrev-tail (cdr dabbrev-tail))) - (nreverse dabbrev-result)))) + `(let (dabbrev-result dabbrev-tail ,element) + (setq dabbrev-tail ,list) + (while dabbrev-tail + (setq ,element (car dabbrev-tail)) + (if ,condition + (setq dabbrev-result (cons ,element dabbrev-result))) + (setq dabbrev-tail (cdr dabbrev-tail))) + (nreverse dabbrev-result))) ;;---------------------------------------------------------------- ;; Exported functions @@ -569,7 +569,7 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]." (equal abbrev (upcase abbrev))))) ;; Save state for re-expand. - (setq dabbrev--last-expansion expansion) + (setq dabbrev--last-expansion expansion) (setq dabbrev--last-abbreviation abbrev) (setq dabbrev--last-abbrev-location (point-marker)))))) @@ -630,7 +630,7 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]." (dabbrev--goto-start-of-abbrev) (buffer-substring-no-properties dabbrev--last-abbrev-location (point)))) - + ;;; Initializes all global variables (defun dabbrev--reset-global-variables () ;; dabbrev--last-obarray and dabbrev--last-completion-buffer |