534 |
;; than one file would have the same cache name in that directory, if the luser |
;; than one file would have the same cache name in that directory, if the luser |
535 |
;; made a link from one relative cache directory to another. (Phew!) |
;; made a link from one relative cache directory to another. (Phew!) |
536 |
(defun fast-lock-cache-name (directory) |
(defun fast-lock-cache-name (directory) |
537 |
"Return full cache path name using caching DIRECTORY. |
"Return full cache file name using caching DIRECTORY. |
538 |
If DIRECTORY is `.', the path is the buffer file name appended with `.flc'. |
If DIRECTORY is `.', the file name is the buffer file name appended with `.flc'. |
539 |
Otherwise, the path name is constructed from DIRECTORY and the buffer's true |
Otherwise, the file name is constructed from DIRECTORY and the buffer's true |
540 |
abbreviated file name, with all `/' characters in the name replaced with `#' |
abbreviated file name, with all `/' characters in the name replaced with `#' |
541 |
characters, and appended with `.flc'. |
characters, and appended with `.flc'. |
542 |
|
|
543 |
If the same file has different cache path names when edited on different |
If the same file has different cache file names when edited on different |
544 |
machines, e.g., on one machine the cache file name has the prefix `#home', |
machines, e.g., on one machine the cache file name has the prefix `#home', |
545 |
perhaps due to automount, try putting in your `~/.emacs' something like: |
perhaps due to automount, try putting in your `~/.emacs' something like: |
546 |
|
|