summaryrefslogtreecommitdiff
path: root/lisp/bookmark.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2001-11-27 15:52:52 +0000
committerSam Steingold <sds@gnu.org>2001-11-27 15:52:52 +0000
commit8a9463543d5b82409a24e23905d271cdebf70059 (patch)
tree503c81c7058491327cc13ab0eff04ed5dc6dd855 /lisp/bookmark.el
parentc6aedc9284492c790448cce23b0e5cc134885148 (diff)
downloademacs-8a9463543d5b82409a24e23905d271cdebf70059.tar.gz
Converted backquote to the new style.
Diffstat (limited to 'lisp/bookmark.el')
-rw-r--r--lisp/bookmark.el41
1 files changed, 20 insertions, 21 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 6ac3c0f9d9a..3c258b2689b 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -539,21 +539,20 @@ being set. This might change someday.
Optional second arg INFO-NODE means this bookmark is at info node
INFO-NODE, so record this fact in the bookmark's entry."
(let ((the-record
- (` ((filename . (, (bookmark-buffer-file-name)))
- (front-context-string
- . (, (if (>= (- (point-max) (point)) bookmark-search-size)
- (buffer-substring-no-properties
- (point)
- (+ (point) bookmark-search-size))
- nil)))
- (rear-context-string
- . (, (if (>= (- (point) (point-min)) bookmark-search-size)
- (buffer-substring-no-properties
- (point)
- (- (point) bookmark-search-size))
- nil)))
- (position . (, (point)))
- ))))
+ `((filename . ,(bookmark-buffer-file-name))
+ (front-context-string
+ . ,(if (>= (- (point-max) (point)) bookmark-search-size)
+ (buffer-substring-no-properties
+ (point)
+ (+ (point) bookmark-search-size))
+ nil))
+ (rear-context-string
+ . ,(if (>= (- (point) (point-min)) bookmark-search-size)
+ (buffer-substring-no-properties
+ (point)
+ (- (point) bookmark-search-size))
+ nil))
+ (position . ,(point)))))
;; Now fill in the optional parts:
@@ -661,11 +660,11 @@ affect point."
(ann (nth 4 record)))
(list
name
- (` ((filename . (, filename))
- (front-context-string . (, (or front-str "")))
- (rear-context-string . (, (or rear-str "")))
- (position . (, position))
- (annotation . (, ann)))))))
+ `((filename . ,filename)
+ (front-context-string . ,(or front-str ""))
+ (rear-context-string . ,(or rear-str ""))
+ (position . ,position)
+ (annotation . ,ann)))))
old-list))
@@ -1347,7 +1346,7 @@ for a file, defaulting to the file defined by variable
(set-buffer (let ((enable-local-variables nil))
(find-file-noselect file)))
(goto-char (point-min))
- (let ((print-length nil)
+ (let ((print-length nil)
(print-level nil))
(delete-region (point-min) (point-max))
(bookmark-insert-file-format-version-stamp)