mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
(info-insert-file-contents): Don't use
(file-name-directory fullname) if it is nil. (info-insert-file-contents): Fix Apr 19 change.
This commit is contained in:
parent
3c61e53471
commit
0e8b867a92
@ -165,7 +165,8 @@ Do the right thing if the file has been compressed or zipped."
|
||||
(insert-file-contents fullname visit)
|
||||
(if decoder
|
||||
(let ((buffer-read-only nil)
|
||||
(default-directory (file-directory fullname)))
|
||||
(default-directory (or (file-name-directory fullname)
|
||||
default-directory)))
|
||||
(shell-command-on-region (point-min) (point-max) decoder t)))))
|
||||
|
||||
;;;###autoload (add-hook 'same-window-buffer-names "*info*")
|
||||
|
Loading…
Reference in New Issue
Block a user